Merge pull request #39314 from ThakeeNathees/debugger-incorrect-line-fix
GDScript debugger stepping to incorrect line fix
This commit is contained in:
commit
6cefb8d368
1 changed files with 2 additions and 0 deletions
|
@ -2821,6 +2821,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 a new issue