Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
595adce0
Commit
595adce0
authored
May 01, 2003
by
Ken Manheimer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow for multiple parens around pdb prompt for (new) nested debugging
sessions (and some cosmetic wording changes).
parent
21d3a32b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Misc/python-mode.el
Misc/python-mode.el
+4
-4
No files found.
Misc/python-mode.el
View file @
595adce0
...
...
@@ -483,7 +483,7 @@ prospect as debugging continues.")
"^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_]+\\)()"
"Regular expression pdbtrack uses to find a stack trace entry."
)
(
defconst
py-pdbtrack-input-prompt
"\n[(<]
?pdb[>)]?
"
(
defconst
py-pdbtrack-input-prompt
"\n[(<]
+pdb[>)]+
"
"Regular expression pdbtrack uses to recognize a pdb prompt."
)
(
defconst
py-pdbtrack-track-range
10000
...
...
@@ -1290,8 +1290,8 @@ If the traceback target file path is invalid, we look for the most
recently visited python-mode buffer which either has the name of the
current function \(or class) or which defines the function \(or
class). This is to provide for remote scripts, eg, Zope's 'Script
(Python)' - put a _copy_ of the script in a
python-mode buffer named
for the script
and pdbtrack will find it.)"
(Python)' - put a _copy_ of the script in a
buffer named for the
script, and set to python-mode,
and pdbtrack will find it.)"
;; Instead of trying to piece things together from partial text
;; (which can be almost useless depending on Emacs version), we
;; monitor to the point where we have the next pdb prompt, and then
...
...
@@ -1378,7 +1378,7 @@ problem as best as we can determine."
((
=
(
elt
filename
0
)
?\<
)
(
format
"(Non-file source: '%s')"
filename
))
(
t
(
format
"
Function/file n
ot found: %s(), %s"
funcname
filename
)))
(
t
(
format
"
N
ot found: %s(), %s"
funcname
filename
)))
)
)
)
...
...
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