Heip on debugging

T

Totto

Hi,
Need some help with debugging a asp.net, C# project.
When I set a breakpoint and run the application the breakpoint gets a
question mark inside, and the "hover message" is:
"The breakpoint will not currently be hit. No symbols have been loaded for
this dokument"

Any suggestions to why the breakpoints is not hit will be highly
appreciated.

Totto
 
K

Kevin Spencer

Did you set up your compilation configuration for debugging the project?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

Make sure you have debug="true" in the web.config. And, make sure debugging
is allowed in this website with the Internet Services Manager. You may also
wish to check machine.config, as some settings can be set here to prevent
debug.

After that, start a debug build in VS.NET (or alternately, start Internet
Explorer and attach IE to VS.NET - debug menu >> processes ...) and you
should be able to hit the breakpoint once the compile is complete. Make sure
you are compiling a debug and not a release build, or the .pdb it is looking
fo will not be created. You may see a question mark, at first, when you hit
debug, but it should disappear once the compile is finished and the page is
requested.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 
T

Totto

Hi Gregory,
After doing what you suggested I got rid of the question mark, but still no
hit on the breakpoints. Have checked the .pdb files and they are of same
date as the .dll's.
Any other suggestions ? (All other projects on the web server debug ok!)
Tnx
Totto
 
T

Totto

Hi, Gregory
Now the application is hitting the breakpoints. After making a new install
of IIS it worked ok.
Tanks for your help.

Totto
 

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

Top