473,406 Members | 2,281 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,406 software developers and data experts.

pdb module and threaded code

My script uses threads from the threading module

I try do debug it with the PDB module.

But the debugger ignores breakpoints to code that is executed by threads

How can this be worked around

Did I do something wrong?

I use:

Pdb.run('mymodule.main()', globals(), locals())


Jul 18 '05 #1
1 1603
You might consider Boa. It seems to have more success with
multi-threaded programs on Windows XP.

Colin W.

Nir of the Waves wrote:
My script uses threads from the threading module

I try do debug it with the PDB module.

But the debugger ignores breakpoints to code that is executed by threads

How can this be worked around

Did I do something wrong?

I use:

Pdb.run('mymodule.main()', globals(), locals())



Jul 18 '05 #2

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

Similar topics

1
by: Matt Leslie | last post by:
This code: ************** import thread def doprint(i): print i for i in range(0,100): thread.start_new_thread(doprint,(i,))
0
by: Josiah Carlson | last post by:
Good day everyone, I have produced a patch against the latest CVS to add support for two new formatting characters in the struct module. It is currently an RFE, which I include a link to at the...
2
by: Mike Rovner | last post by:
Hello, Please advise on multi-threaded list *append*: import time, random, thread aList = def main(): for i in range(10):
6
by: N. Graves | last post by:
Thanks for taking the time to read my question and hopefully it will be understandable. I have a need to read a record in a table and place the information in public variables that can be used...
5
by: Agnes | last post by:
I want to write a program with many sub-method. for example, 1)method :company_search(code) which return name,addresss...etc 2)method:currency(code) which return the current exchange rate....etc...
0
by: apexi.200sx | last post by:
Just wondering if anyone could give me advice on handling potential error conditions in python, it seems that exceptions are used alot more for this stuff than in other languages. I have...
3
by: Jamie Risk | last post by:
I'm attempting to improve some serially executing code (that uses the SerialPort class) bogging Windows down when it runs. To do the 'antibogging' I'm following the example from MSDN...
5
by: Nayan | last post by:
Hi, If I make a call to function which is in external library, and it goes into wait sate.. disabling my app to proceed further, how can I break this state elegantly? So far, I had to kill my...
3
by: Swans, What Swans? | last post by:
I have a module in one of my Access DB that is hidden. I'd like to keep it hidden but I'd like to use AutoKeys to run code to unhide it. I know how to use AutoKeys, I just don't know how to set...
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
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,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
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...
0
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...

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.