Debugger: Add UI for configuring breakpoint conditions

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

General:
- Add message codes for requesting breakpoint configuration.

UserInterfaceListener/TeamDebugger:
- Add/implement hooks for requesting breakpoint condition changes.

BreakpointsView:- Add button to request editing the currently selected breakpoint's condition.

TeamWindow:
- Handle request to show breakpoint edit window.

BreakpointEditWindow:- Implement simple radio-based UI for modifying the current breakpoint's condition.

Still missing: Actually handling/evaluating the breakpoint conditions in the ThreadHandler when the breakpoint is hit.

942226c Debugger: Add UI for configuring breakpoint conditions.
src/apps/debugger/Jamfile | 1 +
src/apps/debugger/MessageCodes.h | 4 +
src/apps/debugger/controllers/TeamDebugger.cpp | 70 +++++++++-
src/apps/debugger/controllers/TeamDebugger.h | 5 +
src/apps/debugger/user_interface/UserInterface.h | 5 +
.../gui/team_window/BreakpointEditWindow.cpp | 144 ++++++++++++++++++++
.../gui/team_window/BreakpointEditWindow.h | 61 +++++++++
.../gui/team_window/BreakpointsView.cpp | 24 ++++
.../gui/team_window/BreakpointsView.h | 1 +
.../user_interface/gui/team_window/TeamWindow.cpp | 35 ++++-
.../user_interface/gui/team_window/TeamWindow.h | 2 +
11 files changed, 349 insertions(+), 3 deletions(-)

Upstream: cgit.haiku-os.org


  • Share