mirror of
https://github.com/godotengine/godot
synced 2024-09-05 06:28:34 +00:00
Fix local variables not showing when breaking on final line
This commit is contained in:
parent
5d5f80b529
commit
657b9b6596
|
@ -95,7 +95,7 @@ void GDScriptFunction::debug_get_stack_member_state(int p_line, List<Pair<String
|
|||
int oc = 0;
|
||||
Map<StringName, _GDFKC> sdmap;
|
||||
for (const StackDebug &sd : stack_debug) {
|
||||
if (sd.line > p_line) {
|
||||
if (sd.line >= p_line) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue