MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ldbIsBreakpoint

Function ldbIsBreakpoint

app/redis-6.2.6/src/scripting.c:2077–2083  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2075
2076/* Return true if there is a breakpoint in the specified line. */
2077int ldbIsBreakpoint(int line) {
2078 int j;
2079
2080 for (j = 0; j < ldb.bpcount; j++)
2081 if (ldb.bp[j] == line) return 1;
2082 return 0;
2083}
2084
2085/* Add the specified breakpoint. Ignore it if we already reached the max.
2086 * 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