Fix local variables not showing when breaking on final line
(cherry picked from commit 657b9b6596
)
This commit is contained in:
parent
085490fa06
commit
9fa4d3b1b0
1 changed files with 1 additions and 1 deletions
|
@ -1651,7 +1651,7 @@ void GDScriptFunction::debug_get_stack_member_state(int p_line, List<Pair<String
|
|||
Map<StringName, _GDFKC> sdmap;
|
||||
for (const List<StackDebug>::Element *E = stack_debug.front(); E; E = E->next()) {
|
||||
const StackDebug &sd = E->get();
|
||||
if (sd.line > p_line) {
|
||||
if (sd.line >= p_line) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue