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
cd112db0
Commit
cd112db0
authored
Nov 11, 2015
by
antirez
Browse files
Lua debugger: removing breakpoints now works.
parent
a076e421
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
cd112db0
...
...
@@ -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."
));
...
...
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