mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 20:24:41 +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:
parent
09a2de9916
commit
8280bb0de0
5 changed files with 37 additions and 0 deletions
|
|
@ -1078,6 +1078,19 @@ void ScriptEditorDebugger::live_debug_reparent_node(const NodePath& p_at, const
|
|||
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::set_breakpoint(const String& p_path,int p_line,bool p_enabled) {
|
||||
|
||||
if (connection.is_valid()) {
|
||||
Array msg;
|
||||
msg.push_back("breakpoint");
|
||||
msg.push_back(p_path);
|
||||
msg.push_back(p_line);
|
||||
msg.push_back(p_enabled);
|
||||
ppeer->put_var(msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void ScriptEditorDebugger::_error_selected(int p_idx) {
|
||||
|
||||
error_stack->clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue