diff options
author | Willem Jan Palenstijn | 2017-05-26 18:40:43 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-06-10 21:32:35 +0200 |
commit | be84cfdb59c6c2a5ac7258f78f098e9bced29cb0 (patch) | |
tree | efea9863ad494df47f7fbb570d8702e814476c43 /engines/sci/debug.h | |
parent | 423ecde8e0e20d664ad8e41496bdf98cf94407da (diff) | |
download | scummvm-rg350-be84cfdb59c6c2a5ac7258f78f098e9bced29cb0.tar.gz scummvm-rg350-be84cfdb59c6c2a5ac7258f78f098e9bced29cb0.tar.bz2 scummvm-rg350-be84cfdb59c6c2a5ac7258f78f098e9bced29cb0.zip |
SCI: Add inspect, none breakpoint actions
Diffstat (limited to 'engines/sci/debug.h')
-rw-r--r-- | engines/sci/debug.h | 10 |
1 files changed, 7 insertions, 3 deletions
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<Breakpoint> _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 |