- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I set condition breakpoint or data breakpoint (memory address debugging), the breakpoints were disabled with warning message and stop at the begining of a program. Then the debugger refused to let me to reset the breakpoints. If I start running the debugger first, then set the breakpoints, Dev Studio did not permit me to set them. This problem does not alway happen. What I missed?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, I don't think you missed anything.
Conditional breakpoints in VS seem to have a logic of its own, which usually doesn't match yours or mine :-(. I observe the same behaviour. For what it's worth, setting a normal breakpoint AFTER program start, then converting it to conditional one works most of the time, but the next time you restart the debugger you have to go all the way through again.
AFAIK there's little Intel guys can do here -- it's in the Microsoft part.
Jugoslav
Conditional breakpoints in VS seem to have a logic of its own, which usually doesn't match yours or mine :-(. I observe the same behaviour. For what it's worth, setting a normal breakpoint AFTER program start, then converting it to conditional one works most of the time, but the next time you restart the debugger you have to go all the way through again.
AFAIK there's little Intel guys can do here -- it's in the Microsoft part.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To add to what Jugoslav said, the MS debugger requires that, for a conditional breakpoint to be enabled, the expression must be capable of being evaluated at the point of enabling. That means that if you have a subroutine local variable in the expression, the debugger will refuse to enable it unless that subroutine is in scope (is executing). Furthermore, if it goes out of scope, the breakpoint is disabled.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page