mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 17:51:21 +00:00
Lua debugger: removing breakpoints now works.
This commit is contained in:
@ -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."));
|
||||
|
Reference in New Issue
Block a user