[Patches] [ python-Patches-509975 ] make python-mode play nice with gdb
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 16 Jul 2002 09:43:44 -0700
Patches item #509975, was opened at 2002-01-28 20:32
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=509975&group_id=5470
Category: Demos and tools
Group: Python 2.3
>Status: Closed
>Resolution: Rejected
Priority: 5
Submitted By: Alex Coventry (alex_coventry)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: make python-mode play nice with gdb
Initial Comment:
if you run gdb (and presumably other debuggers) while
python-mode is loaded, the little arrow it uses to
indicate the current position in the source code fails
to appear. this is because the comint hook
py-pdbtrack-track-stack-file wipes it out regardless of
whether the current buffer process comes from python.
hth.
alex
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-07-16 12:43
Message:
Logged In: YES
user_id=12800
This patch doesn't work for a use case that I've found to be
very common, namely adding "import pdb ; pdb.set_trace()" in
the code where you want to start tracing, and then just
running the program from the shell buffer.
Ken turned me on to this idiom and it's really powerful.
The test for process-command matching exactly
py-python-command or py-jpython-command breaks this.
I'm not sure patch 567468 is much better, but for different
reasons.
----------------------------------------------------------------------
Comment By: Alex Coventry (alex_coventry)
Date: 2002-02-03 16:18
Message:
Logged In: YES
user_id=49686
sorry, somehow failed to include the diff :)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=509975&group_id=5470