|
-
Oct 18th, 2003, 12:23 AM
#1
Thread Starter
Lively Member
Question mark in breakpoint....help
When i am debugging my ASP.NET application (thourgh vs.net), I set some breakpoints within a single method....but some lines of coding are breakpoint enabled, and others displayed with Question mark within breakpoint(breakpoint with warning!)...and giving tooltip message..."the breakpoint cannot currently be hit...no executable code is associated with it".
The code in with such breakpoint never gets executed (Even if I remove breakpoint)....This is a severe issue....getting in almost all of our computers..
The wonder is that, the succesfully enabled breakpoint is just above that of warning breakpoint.... and could be executed succesfully....but not the below one....and finally NO ERROR in any case...
please help me out to solve this issue
-
Oct 18th, 2003, 02:35 AM
#2
I'd check the program flow or code logic. The question mark is normal and sometimes the tooltip can be misleading. For instance if I have a TCPConnection class and I am using it in an application. If I set a breakpoint in the ReceiveData method and start the app then it shows the question mark and has a tooltip of 'The breakpoint will not currently be hit. No symbols loaded...' but that only stays until I actually create an instance of the TCPConnection class at which point the question mark goes away along with the tooltip.
So maybe you are not using the thing you have at the breakpoint or the programming logic is not causing that part to be used. Check the locals or set a watch or follow the logic step by step from the beginning.
If you still don't get it or if that doesn't make sense then try posting the offending code and code around it maybe someone here can spot something.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|