Unverified Commit 1c77fdcc by Rémi Verschelde Committed by GitHub

Merge pull request #16882 from GodotExplorer/debugger-improvement-1

Small improvements for the debugger
parents 35053e57 cfde7374
...@@ -1285,14 +1285,14 @@ void ScriptEditorDebugger::_stack_dump_frame_selected() { ...@@ -1285,14 +1285,14 @@ void ScriptEditorDebugger::_stack_dump_frame_selected() {
emit_signal("goto_script_line", stack_script, int(d["line"]) - 1); emit_signal("goto_script_line", stack_script, int(d["line"]) - 1);
stack_script.unref(); stack_script.unref();
ERR_FAIL_COND(connection.is_null()); if (connection.is_valid() && connection->is_connected_to_host()) {
ERR_FAIL_COND(!connection->is_connected_to_host()); Array msg;
/// msg.push_back("get_stack_frame_vars");
msg.push_back(d["frame"]);
Array msg; ppeer->put_var(msg);
msg.push_back("get_stack_frame_vars"); } else {
msg.push_back(d["frame"]); inspector->edit(NULL);
ppeer->put_var(msg); }
} }
void ScriptEditorDebugger::_output_clear() { void ScriptEditorDebugger::_output_clear() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment