Cannot debug a project

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
 
S

SM

Duh...The Enable Asp.Net Debugging property was set to false under projects
Properties->Configuration Properties->Debugging
 
N

nitc3

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,076
Messages
2,570,565
Members
47,201
Latest member
IvyTeeter

Latest Threads

Top