From be84cfdb59c6c2a5ac7258f78f098e9bced29cb0 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 26 May 2017 18:40:43 +0200 Subject: SCI: Add inspect, none breakpoint actions --- engines/sci/debug.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'engines/sci/debug.h') diff --git a/engines/sci/debug.h b/engines/sci/debug.h index 03ab594e0d..afcac19f04 100644 --- a/engines/sci/debug.h +++ b/engines/sci/debug.h @@ -47,9 +47,11 @@ enum BreakpointType { }; enum BreakpointAction { - BREAK_BREAK, // break into debugger when breakpoint is triggered - BREAK_LOG, // log the breakpoint, and don't break into debugger - BREAK_BACKTRACE // show a backtrace, and don't break into debugger + BREAK_NONE, // ignore breakpoint + BREAK_BREAK, // break into debugger when breakpoint is triggered + BREAK_LOG, // log the breakpoint, and don't break into debugger + BREAK_BACKTRACE, // show a backtrace, and don't break into debugger + BREAK_INSPECT // show object, and don't break into debugger }; struct Breakpoint { @@ -81,6 +83,8 @@ struct DebugState { StackPtr old_sp; Common::List _breakpoints; //< List of breakpoints int _activeBreakpointTypes; //< Bit mask specifying which types of breakpoints are active + + void updateActiveBreakpointTypes(); }; // Various global variables used for debugging are declared here -- cgit v1.2.3