aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/debug.h
AgeCommit message (Collapse)Author
2010-07-12SCI: Turn global object g_debugState into SciEngine member varMax Horn
svn-id: r50836
2010-06-27SCI: added new command "p" / "stepover" to execute one command, but skip ↵Martin Kiewitz
send/calls processing. single-step is now "trace" (alias "s" and "t"), stepping till ret is "step_ret" (alias "pret"), removed unused kDebugSeek svn-id: r50388
2010-05-19Moved the breakpoint information inside the DebugState structFilippos Karapetis
svn-id: r49092
2010-05-18Moved breakpointWasHit inside the DebugState struct, thus resolving a FIXMEFilippos Karapetis
svn-id: r49071
2009-10-01- Removed the toggle for "weak" validations, as there are cases where they ↵Filippos Karapetis
fail (e.g. in Longbow), so there is no point in having strict validations - Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead - Simplified determine_reg_type() svn-id: r44511
2009-09-17SCI: Move parts of struct ScriptState into a new struct DebugStateMax Horn
svn-id: r44151
2009-08-17Fix compilation of the SCI engine. It seems that all of the SCI header files ↵Johannes Schickel
I touched (and probably others I luckily didn't touch) seem to assume that files including them will supply needed types. That looks like a major issue in SCI. Someone with knowledge of the SCI code should look into this and cleanup the includes of *all* SCI headers. svn-id: r43459
2009-07-18SCI: Fix stepping in debuggerWillem Jan Palenstijn
svn-id: r42587
2009-07-11Fixed regression in the script parser from commit 42260Filippos Karapetis
svn-id: r42371
2009-07-09restAdjust should be a signed integer. Fixes crashes with SCI1 games that ↵Filippos Karapetis
take absolute lofs parameters (a regression of commit #42260) svn-id: r42297
2009-07-08Some cleanup for the script debugger code:Filippos Karapetis
- Renamed struct DebugState to ScriptState and r_amp_rest to restAdjust inside EngineState. Changed restAdjust to be a uint16 (actually it is a uint16, but it was being casted back and forth from an unsigned integer, so this clears up its type and size) - Moved the script state variables from inside the run_vm() into the ScriptState struct, so that they can be accessed by the console commands and the script debugger all the time, and removed the weird isValid code svn-id: r42260
2009-07-03- Pushed debugstate into debug.hFilippos Karapetis
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself. svn-id: r42062
2009-07-02Moved some more debug state related variables in the DebugState structFilippos Karapetis
svn-id: r42044
2009-07-02Moved all the debug state variables in a separate struct and re-enabled ↵Filippos Karapetis
several places where they're used svn-id: r42043
2009-06-06Moved some more debug commands to ScummVM's coneoleFilippos Karapetis
svn-id: r41227
2009-06-04SCI: Renamed various debug related global variables to have a g_ prefix; and ↵Max Horn
moved any 'extern' decls of them into a new header file svn-id: r41163