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

Method remove_breakpoint

core/debugger/script_debugger.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void ScriptDebugger::remove_breakpoint(int p_line, const StringName &p_source) {
61 if (!breakpoints.has(p_line)) {
62 return;
63 }
64
65 breakpoints[p_line].erase(p_source);
66 if (breakpoints[p_line].is_empty()) {
67 breakpoints.erase(p_line);
68 }
69}
70
71String ScriptDebugger::breakpoint_find_source(const String &p_source) const {
72 return p_source;

Callers 3

debugMethod · 0.45
debugMethod · 0.45
_core_captureMethod · 0.45

Calls 3

hasMethod · 0.45
eraseMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected