pdbtrack borked in 23.2.1

classic Classic list List threaded Threaded
3 messages Options
m h
Reply | Threaded
Open this post in threaded view
|

pdbtrack borked in 23.2.1

m h
Anyone else running 23.2.1?  It appears that the recent update on my
gentoo box causes pdbtrack to no longer work.

I get the following message:

pdbtrack: Traceback cue not found

I'm assuming something changed with M-x shell....  I thought I'd ask
here before digging in more....

cheers,
-matt
_______________________________________________
Python-mode mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/python-mode
Reply | Threaded
Open this post in threaded view
|

Re: pdbtrack borked in 23.2.1

Barry Warsaw
On Jun 15, 2010, at 02:30 PM, m h wrote:

>Anyone else running 23.2.1?  It appears that the recent update on my
>gentoo box causes pdbtrack to no longer work.

I'm still on 23.1.1 on Ubuntu 10.04.

>I get the following message:
>
>pdbtrack: Traceback cue not found
>
>I'm assuming something changed with M-x shell....  I thought I'd ask
>here before digging in more....

Please let us know!
-Barry

_______________________________________________
Python-mode mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/python-mode

signature.asc (853 bytes) Download Attachment
m h
Reply | Threaded
Open this post in threaded view
|

Re: pdbtrack borked in 23.2.1

m h
On Tue, Jun 15, 2010 at 2:37 PM, Barry Warsaw <[hidden email]> wrote:
>
> Please let us know!

I'm not sure what happened. I tried emacs 22, python2.4/2.5/2.6.  All
failed to sync the buffer with pdb.

It appears that py-pdbtrack-stack-entry-regexp wasn't detecting lines like so:

> /tmp/testpickly.py(6)<module>()

After learning about M-x regexp-builder I was able to figure out that
the ">" and "<" of "<module>" were throwing it off.  After changing
py-pdbtrack-stack-entry-regexp to
"^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_<>]+\\)()"
it started working again.

Am confused as to why it started failing (or why it worked previously)
since it appears that "<module>" has been in there since python 2.5.

cheers,
-matt


> -Barry
>
> _______________________________________________
> Python-mode mailing list
> [hidden email]
> http://mail.python.org/mailman/listinfo/python-mode
>
>
_______________________________________________
Python-mode mailing list
[hidden email]
http://mail.python.org/mailman/listinfo/python-mode