473,289 Members | 1,923 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,289 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 2879
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.