diff options
| author | Juan Linietsky | 2015-08-04 20:17:13 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-08-04 20:17:39 -0300 |
| commit | 8280bb0de0737f9149face902db21192a0d98ca8 (patch) | |
| tree | 0f6d5f0cfe4c41d600f99df8c9e03a611bc74e9c /tools/editor/script_editor_debugger.cpp | |
| parent | 09a2de99169e9cf50d00febafad3a6705aa8d88a (diff) | |
| download | godot-8280bb0de0737f9149face902db21192a0d98ca8.tar.gz godot-8280bb0de0737f9149face902db21192a0d98ca8.tar.zst godot-8280bb0de0737f9149face902db21192a0d98ca8.zip | |
Diffstat (limited to 'tools/editor/script_editor_debugger.cpp')
| -rw-r--r-- | tools/editor/script_editor_debugger.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/editor/script_editor_debugger.cpp b/tools/editor/script_editor_debugger.cpp index 7ef1be0da..2e1fa2814 100644 --- a/tools/editor/script_editor_debugger.cpp +++ b/tools/editor/script_editor_debugger.cpp @@ -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(); |
