Commit cd112db0 authored by antirez's avatar antirez
Browse files

Lua debugger: removing breakpoints now works.

parent a076e421
......@@ -1976,7 +1976,7 @@ void ldbBreak(sds *argv, int argc) {
ldbLog(sdsnew("Wrong line number."));
}
} else if (line < 0) {
if (ldbDelBreakpoint(line))
if (ldbDelBreakpoint(-line))
ldbLog(sdsnew("Breakpoint removed."));
else
ldbLog(sdsnew("No breakpoint in the specified line."));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment