You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
-add breakpoint statement to ease with debugging, closes #3165
This commit is contained in:
@@ -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: {
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user