Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
all groups > visual studio .net debugging > march 2007

"Unable to start debugging" Managed C++
Posted by dom_perron NO[at]SPAM hotmail.com at 3/29/2007 7:30:00 AM
Hi, When I want to debug a managed c++ dll with other .Net projects (c#) in the same solution, I got an error from VS2003 "Unable to start debugging. Unable to start program ...". I try to debug by starting winword.exe. When I try "start without debugging" it works. Does it have an op...more >>


Debugging unmanaged dll in .net
Posted by atlasgp at 3/27/2007 7:02:19 PM
In VS2005, I have enabled debugging of native code in a project which includes a COM dll written in VC6. I see the symbols load for that dll in the output window and I'm able to step through the unmanaged coded. My problem is that most of the variables cannot be seen in the watch window ( it say...more >>

Debugging in VS.Net 2005
Posted by anoop at 3/27/2007 6:50:32 PM
Hello, I have developed an Application in ASP.Net 2.0 which is under SSL in Vs.Net 2005. I have not written "Debug=True" in Web.Config file. How can I hit the breakpoints in my code to start debugging . Thank you...more >>

Error with VSTestHost.exe
Posted by JDCAMP at 3/27/2007 6:08:09 PM
Any time I try to run a test with any of my projects (both web and windows) in VS2005 it throws an error "VSTestHost.exe has encountered a problem and needs to close..." I hit the 'Debug' button and after it gets loaded a new error comes up. The exception detail is "System.IO.FileLoadExcept...more >>

Remote debugging port
Posted by Andrew Chalk at 3/27/2007 4:10:24 PM
Which port does VS remote TCP/IP dewbugging use by default? How do I change it? Is there an easy MSVCMON option? Many thanks. ...more >>

Open dumps in VS 2005
Posted by Jose Antonio at 3/27/2007 4:04:15 PM
Hi, I have read in the MSDN that it is possible to open .dmp files as a VS 2005 project. However, I can´t find that type of project in my VS 2005 installation. I have installed VB.NET and C#. Do I have to install VC++ to be able to open .dmp files? Thanks in advance. Jose Antonio....more >>

Reading DRWTSN32 logs
Posted by Andrew Chalk at 3/26/2007 9:31:06 PM
Can anyone refer me to a reference (MS or other) on how to read a DRWTSN32 log? Also, to get my VC++ v8.0 program symbols used by DRWTSN32 what file should I place where? Thanks! ...more >>

Finding a fault address
Posted by Andrew Chalk at 3/26/2007 3:56:47 PM
If Event Viewer shows that my Win32 application faulted at 0x000113c8 how can I use this to find the corresponding source code location? Assume that my application is written in VC++ v8.0 and that I have debug information. For example, is there a way to load the .EXE into VS and move EIP to the...more >>



Can I debug in Visual Studio 2005 using old fashioned ASP
Posted by brizie at 3/21/2007 5:05:31 AM
I've got a legacy project already written in ASP that I need to debug but even though I've gone into the ASP settings in IIS to enable server/client ASP debuggging, I never get a breakpoint hit in Visual Studio 2005. This used to work in 2003. Am I doing something wrong or is debuggging ASP sc...more >>

VBScript File Debugging in VS2005
Posted by Adam S at 3/20/2007 5:02:00 PM
Is there a way to do simple debugging on vbs files in VS2005? Or...just run the vbs file from inside the IDE? Thanks -- Adam S...more >>

VS2005 - exceptions thrown whilst debugging
Posted by akash at 3/20/2007 8:07:03 AM
I have a windows forms app that I can compile (debug version) and run from the command line. However, when I try to debug it I get a variety of exceptions thrown by the debugger: 1) If I don't have any breakpoints, I get either "An unhandled exception of type 'System.StackOverflowException' oc...more >>

Edit and Continue
Posted by Lee at 3/16/2007 3:54:05 PM
In VS.NET I have Edit and Continue Check in the options but when I am debugging the project I cannot edit the code, the lock symbol appears on the tabs. Could it be because its install on an x64 platform?...more >>

Memory increasing even when in debug-break
Posted by John Wood at 3/16/2007 1:00:04 AM
Hi all, I have a memory leak problem, but it's no ordinary memory leak. It's a 100% manged app, all in C#. (fairly complex, about 4mb of code). However when ever I run certain methods, such as GetProcessByName, it returns fine but from that instant on the private bytes memory increases at 2...more >>

VS 2005 debugging and iTunes (LoaderLock)
Posted by Jörgen Ahrens at 3/15/2007 12:00:00 AM
Hi all VS 2005 SP 1 and iTunes I like to listen to music while working with VS 2005. it makes me feel better;-) Well, there is a problem with listening to iTunes while debugging an application. I somehow get a LoaderLock exception. Create an Application with a textbox. then start iT...more >>

C# Forms will not start from Debug Menu
Posted by Miguel at 3/12/2007 10:44:00 PM
Hi guys/gals I'm using Visual Studio .net '05 SP1 and I can't even get a simple c# form to start from the debug menu. I'm able to build it and I can actually run it manually from the local directory but I just can't get it to run from within visual studio. I even tried a c++ windows form an...more >>

F5 and Rebuild All
Posted by randy1200 at 3/12/2007 12:11:47 PM
I'm using Visual Studio 2005 with SP1 on a C# project. When I hit the F5 function key to run in debugging mode, I notice I'm rebuilding the entire solution every time before the program run begins. This is wasting a lot of time. I'd like to configure Visual Studio 2005 to only build anythi...more >>

VS 2003 locks .js files in debug mode
Posted by sluderisinthehouse NO[at]SPAM gmail.com at 3/12/2007 11:03:33 AM
I have a C# project with a large amount of Javascript. The scripts are include in the .aspx like so: <SCRIPT language="javascript" src="myScripts.js"></SCRIPT> When I run in debug mode Visual Studio makes the myScripts.js file read-only and I am unable to edit on the fly. I am able to op...more >>

Use of debugging symbol server
Posted by George at 3/9/2007 3:46:04 PM
I am using the Visual Studio version 8 debugger with the Microsoft symbol server. This is great for crash dump analysis of our product in the field since it handles the different versions of apps and dlls on the different machines. I would like to apply this technology to the analysis of diffe...more >>

Which VS 2005 edition has attachable JIT debugger?
Posted by Marc at 3/9/2007 7:43:43 AM
I'm new to VS 2005 debugging. I'm in a situation where I need to debug a managed C# app by first launching the process outside of VS 2005 (on my local machine) and then trapping an exception and hooking it back into VS 2005's debug environment. I'm not seeing a way to do this in VC# Express....more >>

Mixed assembly crashes on exit
Posted by Jim Walsh at 3/8/2007 3:01:35 PM
VS2005 - VC++/MFC: most modules compiled as native. Two modules compiled as /clr (managed). One of these two modules uses a .NET C# Windows form User control in an MFC dialog box. The program seems to run fine, but crashes when I exit. The same crash occurs even if I immediately exit when...more >>

Debugging thru AxHost
Posted by Manoharan at 3/5/2007 12:28:19 AM
Hi, How to debug VB6 Activex Usercontrol (ocx) hosted in VB.Net container. Advanced thanks for your help Manoharan --- Posted via DotNetSlackers.com...more >>

No symbols have been loaded for this document
Posted by Gunnar_Frenzel NO[at]SPAM web.de at 3/4/2007 10:14:41 AM
Hello, I have a solution with three projects, a C# Windows application using a managed C++ dll (which is a wrapper for the C++ dll) and a native C+ + dll. When I try to debug I can only set breakpoints to the C# application and the managed C++ wrapper dll, but not in the native C++ dll project....more >>

Directory Listing Denied
Posted by canyon at 3/3/2007 3:16:08 PM
Directory Listing Denied This Virtual Directory does not allow contents to be listed. -- When I try to run the Time Tracker Startup web site (actually any website using the MasterPage.master) I get the error listed above. The websites reside in inetpub\wwwroot. Any suggestions would...more >>

Immediate Window
Posted by Greg at 3/3/2007 12:32:00 AM
According to the help document in VS.NET 2005 there is an Immediate Window, just like in MS Access. According to the online help documentation I should be able to display the IMMEDIATE window by choosing DEBUG then WINDOWS followed by the IMMEDIATE Window. This option does not appear in my men...more >>

Can't single-step
Posted by Larry Epn at 3/1/2007 9:16:15 AM
I can't effectively debug any more. When I commence execution of my project in VS 2005, it will stop at breakpoints, but the F-keys on my keyboard no longer work as they have since time eternal. I don't know what I hit. My F5 key opens up an option to Save a file, instead of executing the...more >>


DevelopmentNow Blog