You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
more debugger fixes
-setting/clearing breakpoints during run-time now works -multi-line strings resulted in wrong line numbers in bytecode, fixed
This commit is contained in:
@@ -243,6 +243,15 @@ void ScriptDebuggerRemote::debug(ScriptLanguage *p_script,bool p_can_continue) {
|
||||
|
||||
if (request_scene_tree)
|
||||
request_scene_tree(request_scene_tree_ud);
|
||||
|
||||
} else if (command=="breakpoint") {
|
||||
|
||||
bool set = cmd[3];
|
||||
if (set)
|
||||
insert_breakpoint(cmd[2],cmd[1]);
|
||||
else
|
||||
remove_breakpoint(cmd[2],cmd[1]);
|
||||
|
||||
} else {
|
||||
_parse_live_edit(cmd);
|
||||
}
|
||||
@@ -518,6 +527,13 @@ void ScriptDebuggerRemote::_poll_events() {
|
||||
|
||||
if (request_scene_tree)
|
||||
request_scene_tree(request_scene_tree_ud);
|
||||
} else if (command=="breakpoint") {
|
||||
|
||||
bool set = cmd[3];
|
||||
if (set)
|
||||
insert_breakpoint(cmd[2],cmd[1]);
|
||||
else
|
||||
remove_breakpoint(cmd[2],cmd[1]);
|
||||
} else {
|
||||
_parse_live_edit(cmd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user