aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/debug.h
diff options
context:
space:
mode:
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