Cannot debug a project

  • Thread starter Thread starter SM
  • Start date Start date
S

SM

Have a solution which contains two projects. One is a MT/class project and
another is a C# ASP.net project. The ASP.net project has a project reference
set to the class project. I compile the projects in debug mode and run the
ASP.net application but I cannot hit any break point.

There are .pdb files with current date-time stamps generated for both the
Class and Asp.net projects in the bin directory. The Debug->Process menu
shows the correct IE process that is being debugged. There is no remote
debugging that I am trying to do, this is all local to one machine. There
are other projects on this same machine (VS 2002, .Net 1.0 SP2) that I can
debug successfully.

What am I missing?

TIA
 
Duh...The Enable Asp.Net Debugging property was set to false under projects
Properties->Configuration Properties->Debugging
 
This usally happenes when sysmbols are not loaded properly.
What you have to make sure is
1.you are running the application in debug mode and not release mode.
2. Make sure debugging is enabled by right clicking on
Project->Properties->Configuration Properties->Debugging and on right pane
make sure "Enable ASP.NET Debugging" is set to True.

Cheers
nitc3
 
Back
Top