pdb up gives pdbtrack: Not found: <module>()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
When entering pdb within python source with:
import pdb
pdb.set_trace()
pdb stepping successfully follows code to imported modules, automatically switching and opening to these as expected, but does not follow back with up command, most recently yielding:
pdbtrack: Not found: <module>(), /tmp/Python3721
Note that after this error, pdb down will return to correct code (ignoring one line off issue).
This is a new version of python-mode (downloaded today Nov 28 2011):
py-version: 6.0.3
After reading Bug #857003 I verified sole uncommented py-pdbtrack-
;; pdbtrack constants
(defconst py-pdbtrack-
; "^> \\([^(]
"^> \\(.*\\
"Regular expression pdbtrack uses to find a stack trace entry.")
Bug Report:
In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
of 2011-04-04 on rothera, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11001000
configured using `configure '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstated
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-
default enable-
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-
global-
font-lock-mode: t
blink-
auto-
auto-
line-number-mode: t
transient-
Recent input:
C-c ! <help-echo> <down-mouse-1> <mouse-1> C-c C-c
s <return> s <return> s <return> s <return> s <return>
u <return> u <return> <help-echo> <help-echo> <menu-bar>
<buffer> C-d <down-mouse-1> <mouse-movement> <mouse-movement>
<drag-mouse-1> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <edit>
<copy> <help-echo> <help-echo> <down-mouse-1> <mouse-1>
<help-echo> <down-mouse-1> <mouse-1> C-x b <return>
h e l p <return> u p <return> d o w n <return> d o
w n <return> n <return> u p <return> <help-echo> <help-echo>
<help-echo> <menu-bar> <buffer> C-b <up> <S-down> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <edit>
<copy> <help-echo> M-x p y - <tab> v e r <tab> <return>
M-x r e p o r t - e m <tab> <return>
Recent messages:
pdbtrack: Not found: <module>(), /tmp/Python3721
pdbtrack: Traceback cue not found
pdbtrack: (Non-file source: '<stdin>')
pdbtrack: Not found: <module>(), /tmp/Python3721
pdbtrack: line 21, file /home/richard/
pdbtrack: line 58, file /home/richard/
pdbtrack: Not found: <module>(), /tmp/Python3721
Mark set
Making completion list...
Using `python-mode' version 6.0.3
Load-path shadows:
/usr/share/
/usr/share/
/usr/share/
Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug help-mode view vc-hg imenu
python-mode info-look info py-shell-complete derived easymenu edmacro
kmacro cl cl-19 cc-cmds cc-engine cc-vars cc-defs regexp-opt ansi-color
compile comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)
Changed in python-mode: | |
status: | New → In Progress |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
Am 28.11.2011 23:00, schrieb Ricopan:
> Public bug reported:
>
> When entering pdb within python source with:
>
> import pdb
> pdb.set_trace()
>
> pdb stepping successfully follows code to imported modules,
Hi,
thanks for the report.
Still need some example code which triggers the bug.
Andreas