MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / ldbIsBreakpoint

Function ldbIsBreakpoint

src/scripting.cpp:2099–2105  ·  view source on GitHub ↗

Return true if there is a breakpoint in the specified line. */

Source from the content-addressed store, hash-verified

2097
2098/* Return true if there is a breakpoint in the specified line. */
2099int ldbIsBreakpoint(int line) {
2100 int j;
2101
2102 for (j = 0; j < ldb.bpcount; j++)
2103 if (ldb.bp[j] == line) return 1;
2104 return 0;
2105}
2106
2107/* Add the specified breakpoint. Ignore it if we already reached the max.
2108 * Returns 1 if the breakpoint was added (or was already set). 0 if there is

Callers 3

ldbAddBreakpointFunction · 0.85
ldbLogSourceLineFunction · 0.85
luaLdbLineHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected