Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a385f6bf
Commit
a385f6bf
authored
Sep 18, 2002
by
Richard M. Stallman
Browse files
(gud-pdb-marker-regexp): Allow : and \ in file name.
(pdb): In gud-remove, pass down the file name.
parent
5d9655bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/gud.el
lisp/gud.el
+2
-2
No files found.
lisp/gud.el
View file @
a385f6bf
...
...
@@ -1322,7 +1322,7 @@ and source-file directory for your debugger."
;; Last group is for return value, e.g. "> test.py(2)foo()->None"
;; Either file or function name may be omitted: "> <string>(0)?()"
(
defvar
gud-pdb-marker-regexp
"^> \\([-a-zA-Z0-9_/.]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\)()\\(->[^\n]*\\)?\n"
)
"^> \\([-a-zA-Z0-9_/.
:\\
]*\\|<string>\\)(\\([0-9]+\\))\\([a-zA-Z0-9_]*\\|\\?\\)()\\(->[^\n]*\\)?\n"
)
(
defvar
gud-pdb-marker-regexp-file-group
1
)
(
defvar
gud-pdb-marker-regexp-line-group
2
)
(
defvar
gud-pdb-marker-regexp-fnname-group
3
)
...
...
@@ -1406,7 +1406,7 @@ and source-file directory for your debugger."
(
set
(
make-local-variable
'gud-minor-mode
)
'pdb
)
(
gud-def
gud-break
"break %l"
"\C-b"
"Set breakpoint at current line."
)
(
gud-def
gud-remove
"clear %
l"
"\C-d"
"Remove breakpoint at current line"
)
(
gud-def
gud-remove
"clear %
f:%l"
"\C-d"
"Remove breakpoint at current line"
)
(
gud-def
gud-step
"step"
"\C-s"
"Step one source line with display."
)
(
gud-def
gud-next
"next"
"\C-n"
"Step one line (skip functions)."
)
(
gud-def
gud-cont
"continue"
"\C-r"
"Continue with display."
)
...
...
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