1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Add expression evaluater to debugger (REPL)

Co-authored-by: rohanrhu <rohanrhu2@gmail.com>
This commit is contained in:
kobewi
2024-09-30 17:48:27 +02:00
parent e3213aaef5
commit 645abdbb80
8 changed files with 291 additions and 6 deletions

View File

@@ -966,7 +966,7 @@ void DebugAdapterProtocol::on_debug_stack_frame_var(const Array &p_data) {
List<int> scope_ids = stackframe_list.find(frame)->value;
ERR_FAIL_COND(scope_ids.size() != 3);
ERR_FAIL_INDEX(stack_var.type, 3);
ERR_FAIL_INDEX(stack_var.type, 4);
int var_id = scope_ids.get(stack_var.type);
DAP::Variable variable;