IDE not breaking at breakpoint

K

Kevin

When I run (F5) my web app and put a breakpoint on page load it won't
stop at the breakpoint! The code that's in the routine executes, but
..NET won't stop at the breakpoint!

It's driving me nuts. any help would be greatly appreciated. I am sure
it's an option/setting but I can't figure it out.
 
C

Codemonkey

Are you sure that you are in "debug mode" (as opposed to "release mode")?

Go to the "Build -> Configuration Manager" option in the menus. Make sure
the "Active Solution Configuration" is set to "Debug"

Debug Mode generates extra code that allows the IDE to debug your programs
easier. Release Mode removes this extra debugging code to make the program
more efficient when producing the final product.

There are a few other things that could cause this, so let me know if this
solves your problem.

Hope this helps,

Trev.
 
K

Kevin Bach

Yes, I have been in debug mode (in the configuration manager). I also
have not been running "start w/o debugging" (ctl+F5).

You said you might have more options? Please help. This is indeed
frustrating.

Thanks Trev,
Kevin
 
C

Codemonkey

What kind of web app are you debugging? Asp.net, web services or a .net dll
that is used by the web app?

If you are debugging Asp.net, make sure you have the web server set up for
debugging:

1) Go to Control Panel>Administrative Tools>Computer Management>Services And
Applications>Internet Information Services

2) Right click web application and go to Properties

3) On the Directory Tab, click Configuration and go to the debugging tab.
Make sure Client side and server side debugging is on.

4) Go to the Directory security tab and edit the Anonymous Access and
Authentication control. Try disabling Anonymous access.

I've had problems with this in the past and it's been kinda hit and miss to
try and find out what's causing it.

If all else fails, try searching on http://groups.google.com for things like
"debug asp.net application" etc.

Sorry I can't be of more help.

Trev.
 

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