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

Method insert_breakpoint

core/debugger/script_debugger.cpp:53–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void ScriptDebugger::insert_breakpoint(int p_line, const StringName &p_source) {
54 if (!breakpoints.has(p_line)) {
55 breakpoints[p_line] = HashSet<StringName>();
56 }
57 breakpoints[p_line].insert(p_source);
58}
59
60void ScriptDebugger::remove_breakpoint(int p_line, const StringName &p_source) {
61 if (!breakpoints.has(p_line)) {

Callers 4

debugMethod · 0.45
debugMethod · 0.45
_core_captureMethod · 0.45
initializeMethod · 0.45

Calls 2

hasMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected