Debugger: Implement conditional breakpoints

Operating Systems / Haiku - Rene Gollent [gollent.com] - 30 October 2014 15:54 UTC

ThreadHandler:- When a breakpoint event is hit, we now check if there is an associated UserBreakpoint with a condition attached. If so, we schedule an evaluation request, and only stop the thread if that one evaluates to true (or if evaluation fails in some way).

This implements #9713.

a5ce467 Debugger: Implement conditional breakpoints.
src/apps/debugger/controllers/ThreadHandler.cpp | 168 ++++++++++++++++++++++-
src/apps/debugger/controllers/ThreadHandler.h | 11 ++
2 files changed, 178 insertions(+), 1 deletion(-)

Upstream: cgit.haiku-os.org


  • Share