473,395 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Python Debugger

Is there any python debugger that can

1) be used remotely
2) can handle multiple threads

I checked Eric, IDLE and Wing-IDE. None of them can do this.
Any other recommendations?
Jul 18 '05 #1
8 2884
On 18 Aug 2003 12:34:09 -0700, ll*****@web.de (Lothar Scholz)
wrote:
Is there any python debugger that can

1) be used remotely
What do you mean by remotely? Debug a program running on a server
from a remote PC? Or telnet to the server and display the debug
session on the PC?

If the latter then the standard pdb module works just fine.
2) can handle multiple threads


Never tried that one, although pdb might work...

Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
Jul 18 '05 #2
ll*****@web.de (Lothar Scholz) writes:
Is there any python debugger that can

1) be used remotely
2) can handle multiple threads

I checked Eric, IDLE and Wing-IDE. None of them can do this.
Any other recommendations?


Hapdebugger claims all this (but I've never really tried it).

http://hapdebugger.sourceforge.net/

Thomas
Jul 18 '05 #3
al********@btinternet.com (Alan Gauld) wrote in message news:<3f****************@news.blueyonder.co.uk>...
On 18 Aug 2003 12:34:09 -0700, ll*****@web.de (Lothar Scholz)
wrote:
Is there any python debugger that can

1) be used remotely


What do you mean by remotely? Debug a program running on a server
from a remote PC?


Yes this is what i mean
2) can handle multiple threads


Never tried that one, although pdb might work...


No it does not.
Jul 18 '05 #4
ll*****@web.de (Lothar Scholz) writes on 19 Aug 2003 13:20:12 -0700:
al********@btinternet.com (Alan Gauld) wrote in message news:<3f****************@news.blueyonder.co.uk>...
On 18 Aug 2003 12:34:09 -0700, ll*****@web.de (Lothar Scholz)
wrote:
Is there any python debugger that can

1) be used remotely


What do you mean by remotely? Debug a program running on a server
from a remote PC?


Yes this is what i mean


For this, we use WingIDE, a commercial IDE for Python.
2) can handle multiple threads


When you mean a debugger that can set breakpoints in any thread,
analyse the state of any thread etc, then this is unlikely.

Python maintains the debugging hook in a thread specific data structure.
The available API functions can only access the debugging hook
in the own thread but not in a foreign thread.

This implies that unless the start of a thread is customized
(such that the debugging hook is immediately set on thread start)
it is very difficult to debug a foreign thread (without
a specialized C extension using internal implementation details of
Pythons thread implementation).

Dieter
Jul 18 '05 #5

David> There was some talk about enhancing this in the 2.3 timeframe,
David> but I don't think it made it in.

I thought I saw one or two checkins by Jeremy Hylton in this regard. I
don't recall if it was before or after the 2.3 release, but I'm pretty sure
there's more in there now (in CVS at least) than there was in 2.2.

Skip

Jul 18 '05 #6
Lothar Scholz wrote:
al********@btinternet.com (Alan Gauld) wrote in message
news:<3f****************@news.blueyonder.co.uk>...
On 18 Aug 2003 12:34:09 -0700, ll*****@web.de (Lothar Scholz)
wrote:
Is there any python debugger that can
1) be used remotely


What do you mean by remotely? Debug a program running on a server
from a remote PC?


Yes this is what i mean


Successfully done that with WingIDE (server on Solaris, debug from PC)

Debugging multi-thread python apps is being discussed in another topic.

Mike


Jul 18 '05 #7
Alan Gauld <al********@btinternet.com> wrote:
Or telnet to the server and display the debug session on the PC?


Don't use telnet. man ssh ; man sshd

--
Heikki Orsila There has yet to be any innovation, new
he***********@ee.tut.fi features or new capabilities out of the
http://ee.tut.fi/~heikki Linux platform. - Steve Ballmer of Microsoft
Jul 18 '05 #8
Alan Gauld <al********@btinternet.com> wrote:
Or telnet to the server and display the debug session on the PC?


Don't use telnet. man ssh ; man sshd

--
Heikki Orsila There has yet to be any innovation, new
he***********@ee.tut.fi features or new capabilities out of the
http://ee.tut.fi/~heikki Linux platform. - Steve Ballmer of Microsoft
Jul 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
by: David Mertz | last post by:
Pythonistas, My loyal fans :-) will remember that I did a Python IDE roundup for _Charming Python_ a couple years back. Now I have another such roundup lined up... not the very next article,...
4
by: Glenn Reed | last post by:
This is just a general comment after trying my hand at some serious python programming for the first time. Have played with it for some time but this is the first serious thing I've done with it. ...
34
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
4
by: Chris P. | last post by:
I've been having a problem with PythonWin that seemed to start completely spontaneously and I don't even know where to START to find the answer. The only thing I can think of that marks the point...
6
by: Tran Tuan Anh | last post by:
Hi all, I am new to Python and desperated to look for a good Python debugger. I mean a debugger with source coding tracking. For C/C++, emacs and gud offers execellent development env. The...
0
by: peter | last post by:
Hello all, I would like to debug my python libraries, written in c++, with GDB (gnu debugger) I'm using the mingw compiler in a windows environment. As development environment I use eclipse...
17
by: hanumizzle | last post by:
I have used Perl for a long time, but I am something of an experimental person and mean to try something new. Most of my 'work' with Vector Linux entails the use of Perl (a bit of a misnomer as it...
20
by: krypto.wizard | last post by:
Is there any editor or IDE in Python (either Windows or Linux) which has very good debugging facilites like MS VisualStudio has or something like that. I like SPE but couldn't easily use winPDP....
40
by: kimiraikkonen | last post by:
Hi, For experienced with Pyhton users, which developing software and enviroment would you suggest for Pyhton programming? Compiler+Editor +Debugger. Also what are your suggestions for beginners...
12
by: WaterWalk | last post by:
Hello. I wonder what's the effective way of figuring out how a piece of python code works. With C I often find it very useful to be able to run the code in step mode and set breakpoints in a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.