mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-23 20:24:59 -07:00
adjust demon to correctly produce, & ctrl to correctly process, breakpoint events which cannot be correlated to a high-level UI-defined breakpoint state. this catches, for example, data breakpoints which are programmatically set by the user program.
This commit is contained in:
@@ -6334,6 +6334,14 @@ ctrl_thread__run(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg)
|
||||
}
|
||||
}
|
||||
|
||||
// rjf: programmatic user breakpoints (we do not have state for it,
|
||||
// but the target program(s) did something breakpoint-like, and we
|
||||
// want to treat it as if we did)
|
||||
if(event->address != 0)
|
||||
{
|
||||
hit_user_bp = 1;
|
||||
}
|
||||
|
||||
// rjf: evaluate hit stop conditions
|
||||
if(conditions.node_count != 0) ProfScope("evaluate hit stop conditions")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user