weismat has asked for the wisdom of the Perl Monks concerning the following question:

I can see via the debugger help that the debugger offers to show thread IDs. How can one switch the thread in the debugger or can one only debug the main thread? I am using Active State Perl on Windows, Solaris and Macintosh.

Replies are listed 'Best First'.
Re: Switching threads in debugger
by weismat (Friar) on Oct 10, 2007 at 13:36 UTC
    The basic debugging works fine if you take into account the following steps: A.) Start the debugger with dt instead of d. B.) Do not forget to either detach or join the threads. C.) Use at least Perl 5.8.5. Otherwise the break points will not work.