MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setBreakpoint

Method setBreakpoint

Source/Lua/CtrlrLuaDebugger.cpp:115–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void CtrlrLuaDebugger::setBreakpoint(const int line, const String &fileName, const bool shouldBeSet)
116{
117 pendingBreakpoints.add (PendingBreakpoint(line, fileName, shouldBeSet));
118 owner.runCode("pause(\"__breakpoints\")");
119}
120
121void CtrlrLuaDebugger::toggleBreakpoint(luabind::object &breakpoints, luabind::object &lineBreakpoints, int line, const String fileName, bool shouldBeSet)
122{

Callers 1

markedLinesChangedMethod · 0.80

Calls 3

PendingBreakpointClass · 0.85
addMethod · 0.45
runCodeMethod · 0.45

Tested by

no test coverage detected