aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorColin Snover2017-09-19 01:37:23 -0500
committerColin Snover2017-09-19 19:54:30 -0500
commit682b8790fd24449286a5a5dc8332c7c7570164b6 (patch)
tree126a9850f9ef9bf27f616995b81cc9519ba4fde2 /engines
parentd363234129484733c55f961215bcb1343d84392e (diff)
downloadscummvm-rg350-682b8790fd24449286a5a5dc8332c7c7570164b6.tar.gz
scummvm-rg350-682b8790fd24449286a5a5dc8332c7c7570164b6.tar.bz2
scummvm-rg350-682b8790fd24449286a5a5dc8332c7c7570164b6.zip
SCI: Allow multi-step tracing with step-over in debugger
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/console.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index 4c4dfb3260..97a6164d53 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -3479,9 +3479,7 @@ bool Console::cmdTrace(int argc, const char **argv) {
bool Console::cmdStepOver(int argc, const char **argv) {
_debugState.seeking = kDebugSeekStepOver;
_debugState.seekLevel = _engine->_gamestate->_executionStack.size();
- _debugState.debugging = true;
-
- return cmdExit(0, 0);
+ return cmdTrace(argc, argv);
}
bool Console::cmdStepEvent(int argc, const char **argv) {