473,769 Members | 6,034 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2901
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********@btin ternet.com (Alan Gauld) wrote in message news:<3f******* *********@news. blueyonder.co.u k>...
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********@btin ternet.com (Alan Gauld) wrote in message news:<3f******* *********@news. blueyonder.co.u k>...
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********@btin ternet.com (Alan Gauld) wrote in message
news:<3f******* *********@news. blueyonder.co.u k>...
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********@bti nternet.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***********@e e.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********@bti nternet.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***********@e e.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
4525
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, but it's there on the list. In the intervening years, I've hardly touched anything one might call an IDE. I've looked at screenshots from time to time, and read various announcements. But really I just use text editors and command lines.
4
3180
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. (By serious I mean 650 lines of python code written for a client). The version of Python is the ActiveState version for Windows which included PythonWin IDE. Prior to that I learn't Perl and used it for sometime. What I miss with python is...
34
3662
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 cool language. I've done Perl and like it, there are a few features of PHP I like but overall am not too excited about it. I have found PHP's strtotime() function to be quite flexible and handy and we make liberal use of it. I have not yet really...
4
2613
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 between "PythonWin works fine" and "PythonWin hardly every works fine" was that I changed the size of my Virtual Paging file, noticing that it was too small (I currently have a P4 with 1G of RAM). I tried returning it to its original (smaller)...
6
2041
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 source code tracking is extremely useful for recursive functions. I have spent time Googling but not found anything near. Thanks!
0
2281
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 with the CDT plugin. This plugin also has a nice GUI frontend for the GDB. I've already tried several setups, no setup seemed to work.
17
1642
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 is not now a paid position -- I am not yet even out of K-12), and there a lot of things I love about it. I can look past a number of misfeatures in Perl, but I am surprised to see that Python has very few (that I know of). Most of them are...
20
4211
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. I need tips to debug my code easily. Every help is greatly appreciated. Thanks
40
2197
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 of Pyhton programming? Thank you.
12
1749
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 debugger so I can watch how the it executes, how the data change and how the code jumps from one function to another. But with Python, the debugger is a little primitive. The default IDLE doesn't even allow me to set a breakpoint. When the code is...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5309
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3565
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.