mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Support REPL expressions through DAP evaluate
request
This commit is contained in:
parent
6aac039ee7
commit
0d098d3cca
6 changed files with 71 additions and 11 deletions
|
@ -253,6 +253,13 @@ const SceneDebuggerTree *ScriptEditorDebugger::get_remote_tree() {
|
|||
return scene_tree;
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::request_remote_evaluate(const String &p_expression, int p_stack_frame) {
|
||||
Array msg;
|
||||
msg.push_back(p_expression);
|
||||
msg.push_back(p_stack_frame);
|
||||
_put_msg("evaluate", msg);
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::update_remote_object(ObjectID p_obj_id, const String &p_prop, const Variant &p_value) {
|
||||
Array msg;
|
||||
msg.push_back(p_obj_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue