mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
-add breakpoint statement to ease with debugging, closes #3165
This commit is contained in:
parent
99736e63e4
commit
7d2d1442f8
7 changed files with 34 additions and 1 deletions
|
@ -1156,6 +1156,10 @@ Error GDCompiler::_parse_block(CodeGen& codegen,const GDParser::BlockNode *p_blo
|
|||
codegen.opcodes.push_back(GDFunction::OPCODE_ASSERT);
|
||||
codegen.opcodes.push_back(ret);
|
||||
} break;
|
||||
case GDParser::Node::TYPE_BREAKPOINT: {
|
||||
// try subblocks
|
||||
codegen.opcodes.push_back(GDFunction::OPCODE_BREAKPOINT);
|
||||
} break;
|
||||
case GDParser::Node::TYPE_LOCAL_VAR: {
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue