mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Lua debugger: removing breakpoints now works.
This commit is contained in:
parent
a076e421e9
commit
cd112db0ae
@ -1976,7 +1976,7 @@ void ldbBreak(sds *argv, int argc) {
|
|||||||
ldbLog(sdsnew("Wrong line number."));
|
ldbLog(sdsnew("Wrong line number."));
|
||||||
}
|
}
|
||||||
} else if (line < 0) {
|
} else if (line < 0) {
|
||||||
if (ldbDelBreakpoint(line))
|
if (ldbDelBreakpoint(-line))
|
||||||
ldbLog(sdsnew("Breakpoint removed."));
|
ldbLog(sdsnew("Breakpoint removed."));
|
||||||
else
|
else
|
||||||
ldbLog(sdsnew("No breakpoint in the specified line."));
|
ldbLog(sdsnew("No breakpoint in the specified line."));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user