1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Merge pull request #97758 from TsFreddie/debugger-stepout

Add step out to script debugger
This commit is contained in:
Thaddeus Crews
2025-11-14 14:23:01 -06:00
6 changed files with 29 additions and 0 deletions

View File

@@ -225,6 +225,10 @@ void LocalDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) {
script_debugger->set_depth(0);
script_debugger->set_lines_left(1);
break;
} else if (line == "o" || line == "out") {
script_debugger->set_depth(1);
script_debugger->set_lines_left(1);
break;
} else if (line == "fin" || line == "finish") {
String current_function = script_lang->debug_get_stack_level_function(0);