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

Method get_stack_script_file

editor/debugger/script_editor_debugger.cpp:1502–1509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1500}
1501
1502String ScriptEditorDebugger::get_stack_script_file() const {
1503 TreeItem *ti = stack_dump->get_selected();
1504 if (!ti) {
1505 return "";
1506 }
1507 Dictionary d = ti->get_metadata(0);
1508 return d["file"];
1509}
1510
1511int ScriptEditorDebugger::get_stack_script_line() const {
1512 TreeItem *ti = stack_dump->get_selected();

Callers 2

Calls 2

get_metadataMethod · 0.80
get_selectedMethod · 0.45

Tested by

no test coverage detected