mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 16:33:30 +00:00
Fix debugger behaviour with multi-session debugging:
Fixes script editor debug menu on sessions other than 1 Fixes breakpoint toggle from menu in sessions other than 1 Removes execution display when switching to non-breaked sessions
This commit is contained in:
parent
0ca8542329
commit
3defc17646
3 changed files with 64 additions and 8 deletions
|
@ -4009,8 +4009,8 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
|
|||
debugger->connect("set_execution", callable_mp(this, &ScriptEditor::_set_execution));
|
||||
debugger->connect("clear_execution", callable_mp(this, &ScriptEditor::_clear_execution));
|
||||
debugger->connect("breaked", callable_mp(this, &ScriptEditor::_breaked));
|
||||
debugger->get_default_debugger()->connect("set_breakpoint", callable_mp(this, &ScriptEditor::_set_breakpoint));
|
||||
debugger->get_default_debugger()->connect("clear_breakpoints", callable_mp(this, &ScriptEditor::_clear_breakpoints));
|
||||
debugger->connect("breakpoint_set_in_tree", callable_mp(this, &ScriptEditor::_set_breakpoint));
|
||||
debugger->connect("breakpoints_cleared_in_tree", callable_mp(this, &ScriptEditor::_clear_breakpoints));
|
||||
|
||||
menu_hb->add_spacer();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue