I am back against the wall trying to migrate my multithreaded
application from Python 2.3 to 2.5. The part of the code that's
failing has to do with queues (2.3 queues and 2.5 queues are not the
same). Since WingIDE doesn't support multithread debugging (they've
been saying that one day they might support that - and that was 2003),
I am starting to look for alternatives.
>From what I can gather, it appears the only *real* option I have is to
debug under Eclipse/Pydev. I did a google search of this newsgroup
and didn't turn up too many hits. Before I invest the time to learn
Eclipse/Pydev, I like to hear from somebody that have gone this path.
Have you been successful in using Eclipse/Pydev to debug multi-
threaded Python applications? Is so, what was the learning curve like
to you?
Thanks, 5 6230
On Apr 6, 2007, at 2:32 PM, John Henry wrote:
I am back against the wall trying to migrate my multithreaded
application from Python 2.3 to 2.5. The part of the code that's
failing has to do with queues (2.3 queues and 2.5 queues are not the
same). Since WingIDE doesn't support multithread debugging (they've
been saying that one day they might support that - and that was 2003),
I am starting to look for alternatives.
The alpha release of Wing IDE (3.0.0-a1) does in fact, support
multithread debugging. It is an alpha release but so far, I'm quite
satisfied with it.
hth,
Michael
On Apr 6, 1:33 pm, Michael Bentley <mich...@jedimindworks.comwrote:
On Apr 6, 2007, at 2:32 PM, John Henry wrote:
I am back against the wall trying to migrate my multithreaded
application from Python 2.3 to 2.5. The part of the code that's
failing has to do with queues (2.3 queues and 2.5 queues are not the
same). Since WingIDE doesn't support multithread debugging (they've
been saying that one day they might support that - and that was 2003),
I am starting to look for alternatives.
The alpha release of Wing IDE (3.0.0-a1) does in fact, support
multithread debugging. It is an alpha release but so far, I'm quite
satisfied with it.
hth,
Michael
That's nice to know. May be I can get on their alpha list.
Thanks,
John Henry wrote:
>>From what I can gather, it appears the only real option I have is to
debug under Eclipse/Pydev. *I did a google search of this newsgroup
and didn't turn up too many hits. *Before I invest the time to learn
Eclipse/Pydev, I like to hear from somebody that have gone this path.
Have you been successful in using Eclipse/Pydev to debug multi-
threaded Python applications? *Is so, what was the learning curve like
to you?
I use pydev extensively for all my Python related work. And I really love
it.
The good part about Eclipse/PyDev is that (if you are an Eclipse user)
you'll have to learn only a single IDE for all your programming works in
most of the languages. The interface, the shortcut keys to step, all are
the same across all languages that you use in Eclipse.
As for PyDev, it works very good with Eclipse.
Be it code-completion or thread debugging, all is supported. For
multithreaded applications, in PyDev, you'll see all the threads listed.
Then you can use each thread and proceed with debugging the code.
Learning Eclipse might take some time but that's worth it.
HTH,
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
"Stealing logic from one person is plagiarism, stealing from many is
research."
"The great are those who achieve the impossible, the petty are those who
cannot - rrs"
John Henry wrote:
>>From what I can gather, it appears the only *real* option I have is to
debug under Eclipse/Pydev. I did a google search of this newsgroup
and didn't turn up too many hits. Before I invest the time to learn
Eclipse/Pydev, I like to hear from somebody that have gone this path.
Have you been successful in using Eclipse/Pydev to debug multi-
threaded Python applications? Is so, what was the learning curve like
to you?
ActiveState Komodo can also do multithreaded debugging.
And if all else fails, you can insert:
import pdb
pdb.set_trace()
in your code and that way you will break on any thread.
Currently I am using pydev myself, having gone through WingIDE and Komodo.
--
Heikki Toivonen
On Apr 7, 3:23 pm, Heikki Toivonen <hei...@osafoundation.orgwrote:
John Henry wrote:
>From what I can gather, it appears the only *real* option I have is to
debug under Eclipse/Pydev. I did a google search of this newsgroup
and didn't turn up too many hits. Before I invest the time to learn
Eclipse/Pydev, I like to hear from somebody that have gone this path.
Have you been successful in using Eclipse/Pydev to debug multi-
threaded Python applications? Is so, what was the learning curve like
to you?
ActiveState Komodo can also do multithreaded debugging.
And if all else fails, you can insert:
import pdb
pdb.set_trace()
in your code and that way you will break on any thread.
Currently I am using pydev myself, having gone through WingIDE and Komodo.
--
Heikki Toivonen
I ran the alpha version of Wing. So far, it appears to do a fine job
in debugging multi-threaded applications.
And yes, I fixed my bug within 5 minutes. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Elbert Lev |
last post by:
I started with Python two weeks ago and already saved some time and
efforts while writing 2 programs:
1. database extraction and backup tool, which runs once a month and
creates a snapshot of...
|
by: angel |
last post by:
hi
I use win2000 + eclipse + pydev to developing and python program.On my
machine, python.exe perhaps spend 10 second on starting. Now, when I use
eclipse+pydev to debug, eclipse tell me a error...
|
by: Grzegorz |
last post by:
Hello, I'm using eclipse with pydev plugin, I'm working on a program using
wxpython .
When I'm executing that application standard error output does not show in
eclipse console window - wxpython...
|
by: ravinder |
last post by:
I wanted to develop a multithreaded program using OO concepts on windows platform.
Problem: I have to simulate two layers(similar to TCP/IP stack layers), and the layer functionality is of finite...
|
by: yaru22 |
last post by:
Hi.
I'd like to know how to debug in eclipse+pydev.
In the menu, "Pydev Debug", there's Start Debug Server option, but I
don't know how to use it.
Few questions I have about debugging are:...
|
by: Flavio |
last post by:
Hi, I try to write here because maybe my problem is a common one.
I have a rather complicated multithreaded program, which uses the POSIX
pthread standard.
A master routine calls a series of...
|
by: king kikapu |
last post by:
Hi,
this is actually a question to those of us who use Eclipse and Pydev
as their main Python developing environment. As i use Eclipse (3.3
Europa) only for Python and i have nothing to do with...
|
by: king kikapu |
last post by:
Hi,
i am using Eclipse (Platform Runtime binary) with PyDev and i was
wondering if someone can help me with this:
1. I set breakpoints to a .py file and i have told Eclipse to open the
Debug...
|
by: Ethan Furman |
last post by:
Hey all.
My thanks to all who have responded so far with my other questions. It
is much appreciated.
Some background on what I'm doing (a good explanation can be found at...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
|
by: Johno34 |
last post by:
I have this click event on my form. It speaks to a Datasheet Subform
Private Sub Command260_Click()
Dim r As DAO.Recordset
Set r = Form_frmABCD.Form.RecordsetClone
r.MoveFirst
Do
If...
|
by: DizelArs |
last post by:
Hi all)
Faced with a problem, element.click() event doesn't work in Safari browser.
Tried various tricks like emulating touch event through a function:
let clickEvent = new Event('click', {...
|
by: F22F35 |
last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...
| |