MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_stack_script_line

Method get_stack_script_line

editor/debugger/script_editor_debugger.cpp:1511–1518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1509}
1510
1511int ScriptEditorDebugger::get_stack_script_line() const {
1512 TreeItem *ti = stack_dump->get_selected();
1513 if (!ti) {
1514 return -1;
1515 }
1516 Dictionary d = ti->get_metadata(0);
1517 return d["line"];
1518}
1519
1520int ScriptEditorDebugger::get_stack_script_frame() const {
1521 TreeItem *ti = stack_dump->get_selected();

Callers 1

Calls 2

get_metadataMethod · 0.80
get_selectedMethod · 0.45

Tested by

no test coverage detected