473,503 Members | 1,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to debug a multithreaded windowsNT servvice with Boa Constructor

Hi,

I'm trying to debug a multithreaded windowsNT service with Boa Constructor but it's not working.
I don't know how to debug a service (there's nothing on the internet about that) so I've made an extra module espacially for the debugger which startsall my threads. (if anyone knows how to debug a service, you're welcome totell me)

This module is working fine and I can debug it but when I want to debug thethreads it's not working.
I used a code similar like this one:
import ThreadOne
FirstThread = ThreadOne.ThreadOne()
FirstThread.start()
On the second line, I can walk through the __init__ with the debugger but after that the debugger is not working anymore: The debuggerwindow sais ready instaid of running but the thread is still updating the logfile which means it's still running.
I've used both hard (if hassattr(sys, 'breakpoint'): sys.breakpoint() ) andsoft (the red dots) breakpoints

I'm currently using 5 threads but I've tried a test app with only 1 thread and I had the same problem.

I'm using Boa 0.4.0 with python 2.3 and wxPython 2.5.5
Kind regards,
Gijs

--
This message has been scanned for viruses and
dangerous content by Network Sentry, and is
believed to be clean.
http://www.networksentry.co.za

Jul 19 '05 #1
0 1126

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

Similar topics

1
3039
by: Voronkov Konstantin | last post by:
Hello, All! I have following problem with std::string class. I exproted class from dll which has function which returns std::string. I compiled dll in *release* configuration (using...
0
1499
by: Adam Tomjack | last post by:
I'm trying to embed Python 2.3.5 into a C++ application on Windows XP. When I build my app with debug symbols and link to a debug build of Python, then my program seems to crash most (but not all)...
6
2266
by: Boni | last post by:
Dear all, I have following problem. I created a static libruary (mylib.lib). I compiled it with Multithreaded DLL runtime in release mode. Now I want to give out this library. But users who...
4
1699
by: Armin Zingler | last post by:
Hi, how can I debug multithreaded apps in the express version? There is no threads window. I press Break, but I always see the same thread. But I want to debug the other thread that I started....
0
7072
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...
0
7271
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,...
1
6979
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
7449
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
4666
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...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
373
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.