diff options
Diffstat (limited to 'editor/debugger/editor_expression_evaluator.cpp')
-rw-r--r-- | editor/debugger/editor_expression_evaluator.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/debugger/editor_expression_evaluator.cpp b/editor/debugger/editor_expression_evaluator.cpp index e8b1e33d20..25e9c9eac3 100644 --- a/editor/debugger/editor_expression_evaluator.cpp +++ b/editor/debugger/editor_expression_evaluator.cpp @@ -64,10 +64,7 @@ void EditorExpressionEvaluator::_evaluate() { return; } - Array expr_data; - expr_data.push_back(expression); - expr_data.push_back(editor_debugger->get_stack_script_frame()); - editor_debugger->send_message("evaluate", expr_data); + editor_debugger->request_remote_evaluate(expression, editor_debugger->get_stack_script_frame()); expression_input->clear(); } |