Sindibad_123
asked on
Breakpoints not being hit
Hi, Writing a site in C#, sometimes I set a breakpoint, begin debugging, and my breakpoint is never hit (when it clearly should be).
I also tried toAttach to "aspnet_wp" process but that makes no difference.
I believe its something wrong with my PC (or visual studio configurations) because the debugging works on another pc.
Any help?
I also tried toAttach to "aspnet_wp" process but that makes no difference.
I believe its something wrong with my PC (or visual studio configurations) because the debugging works on another pc.
Any help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>Debug -> Windows -> Modules
There is no Modules option! I'm using VS 2005
There is no Modules option! I'm using VS 2005
Have you tried my suggestion - then you know if breakpoints are working at all (eg. debugging not enabled) or if it is something to do with your code.
ASKER
>Have you tried my suggestion
I set the breakpoint on the first row of the pageload function and it does not hit!
I set the breakpoint on the first row of the pageload function and it does not hit!
Sounds like your app being debugged is optimised and debugging disabled.
Is it a debug build ?
Is it a debug build ?
Tried http:#36334271 ?
Have you tried to set a breakpoint on the very first line of code in your app. One does sometimes see statements like yours and it turns out not to be true