aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/debug.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2017-05-26 18:40:43 +0200
committerWillem Jan Palenstijn2017-06-10 21:32:35 +0200
commitbe84cfdb59c6c2a5ac7258f78f098e9bced29cb0 (patch)
treeefea9863ad494df47f7fbb570d8702e814476c43 /engines/sci/debug.h
parent423ecde8e0e20d664ad8e41496bdf98cf94407da (diff)
downloadscummvm-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.h10
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