From 657b9b659680194f6d3aa546a4b20246bb51fb39 Mon Sep 17 00:00:00 2001 From: SaracenOne Date: Wed, 16 Feb 2022 18:12:38 +0000 Subject: [PATCH] Fix local variables not showing when breaking on final line --- modules/gdscript/gdscript_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index 9424de9d229..3d708955ed4 100644 --- a/modules/gdscript/gdscript_function.cpp +++ b/modules/gdscript/gdscript_function.cpp @@ -95,7 +95,7 @@ void GDScriptFunction::debug_get_stack_member_state(int p_line, List sdmap; for (const StackDebug &sd : stack_debug) { - if (sd.line > p_line) { + if (sd.line >= p_line) { break; }