diff options
Diffstat (limited to 'engines/sci/debug.h')
-rw-r--r-- | engines/sci/debug.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/debug.h b/engines/sci/debug.h index b8557bb493..03ab594e0d 100644 --- a/engines/sci/debug.h +++ b/engines/sci/debug.h @@ -46,11 +46,18 @@ enum BreakpointType { BREAK_ADDRESS = 1 << 4 // break when pc is at this address }; +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 +}; + struct Breakpoint { BreakpointType _type; uint32 _address; ///< Breakpoints on exports reg32_t _regAddress; ///< Breakpoints on addresses Common::String _name; ///< Breakpoints on selector names + BreakpointAction _action; }; enum DebugSeeking { |