[Patches] [ python-Patches-721464 ] Remote debugging with pdb.py

SourceForge.net noreply at sourceforge.net
Wed May 10 19:13:45 CEST 2006


Patches item #721464, was opened at 2003-04-14 23:02
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=721464&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Laurent Pelecq (lpelecq)
Assigned to: Raymond Hettinger (rhettinger)
Summary: Remote debugging with pdb.py

Initial Comment:
With this patch, instances of pdb.Pdb can read and
write from arbitrary file objects. It is based on
similar changes that have been made to cmd.py. It
basically consists of replacing print statement with
calls to self.stdout.write.

So it is possible for example to control the debugger
from another terminal to debug curses-based
applications or CGI scripts.

I can provide a basic client/server debugger.

This patch has been tested on Mandrake Linux 9.1 with
the current CVS version.


----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-05-10 17:13

Message:
Logged In: YES 
user_id=849994

I committed a version of the patch using output redirection
as rev. 45955.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2006-04-14 16:04

Message:
Logged In: YES 
user_id=21627

lpelecq, would you be willing to redo that patch for 2.5?
Using print redirection (instead of .write calls) might be
the easiest way to do it.

rhettinger, do you want to come back to this patch now? If
not, please unassign.

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-06-22 17:15

Message:
Logged In: YES 
user_id=80475

I think this is a good idea.
It is past the the time for being added to 2.3.
Unassigning, but will come back to it for 2.4.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=721464&group_id=5470


More information about the Patches mailing list