Add step out to script debugger

This commit is contained in:
TsFreddie 2025-07-10 23:21:02 +08:00
parent d7cc121e64
commit bc054292d5
No known key found for this signature in database
GPG key ID: 3054B1FC80F9AF6F
6 changed files with 29 additions and 0 deletions

View file

@ -458,6 +458,11 @@ void RemoteDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) {
script_debugger->set_lines_left(1);
break;
} else if (command == "out") {
script_debugger->set_depth(1);
script_debugger->set_lines_left(1);
break;
} else if (command == "continue") {
script_debugger->set_depth(-1);
script_debugger->set_lines_left(-1);