469,323 Members | 1,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

How to debug a multithreaded windowsNT servvice with Boa Constructor


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()
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,

This message has been scanned for viruses and
dangerous content by Network Sentry, and is
believed to be clean.

Jul 19 '05 #1
0 1053

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Voronkov Konstantin | last post: by
reply views Thread by Adam Tomjack | last post: by
6 posts views Thread by Boni | last post: by
4 posts views Thread by Armin Zingler | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.