Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
2cb10191
Commit
2cb10191
authored
Nov 11, 2015
by
antirez
Browse files
Lua debugger: removing breakpoints now works.
parent
649904e2
Changes
1
Show whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
2cb10191
...
@@ -1976,7 +1976,7 @@ void ldbBreak(sds *argv, int argc) {
...
@@ -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."));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment