Debugger stepping to incorrect line fix
Fix: #39296
(cherry picked from commit fc89c5c76d
)
This commit is contained in:
parent
d46ab53b41
commit
fc92f83c30
|
@ -2755,6 +2755,8 @@ void GDScriptParser::_parse_block(BlockNode *p_block, bool p_static) {
|
|||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
pending_newline = -1; // reset for the new block
|
||||
|
||||
NewLineNode *nl = alloc_node<NewLineNode>();
|
||||
|
||||
nl->line = tokenizer->get_token_line();
|
||||
|
|
Loading…
Reference in New Issue