Can I let a thread run in the background while debugging?

10 views
Skip to first unread message

Noam

unread,
Jul 13, 2009, 10:45:31 AM7/13/09
to Winpdb
Hello,

Is it possible to let some threads from winpdb run, while I'm
debugging another thread?

I would like to use RPyC to play with objects in the debugee, by using
a server running on another thread. However, winpdb/rpdb2 cathces all
actions in that thread. Is it possible to let it run freely?

Thanks,
Noam

Nir Aides

unread,
Jul 13, 2009, 3:00:25 PM7/13/09
to win...@googlegroups.com
No (unless you hack it - it is Free Software).
Like traditional C++ debuggers, Winpdb pauses all threads when you request to break into the debuggee.


On Mon, Jul 13, 2009 at 5:45 PM, Noam <noam...@gmail.com> wrote:
linux

Stef Mientki

unread,
Jul 13, 2009, 3:05:00 PM7/13/09
to win...@googlegroups.com
Nir Aides wrote:
> No (unless you hack it - it is Free Software).
> Like traditional C++ debuggers, Winpdb pauses all threads when you
> request to break into the debuggee.
>
But I guess, that another application you've launched with the program
to be debugged stays running until you kill it.
So wouldn't it be possible to move the thread you want to keep running
to a seperate program ?
Just and idea.

cheers,
Stef Mientki

Nir Aides

unread,
Jul 13, 2009, 3:06:45 PM7/13/09
to win...@googlegroups.com
Most other Python debuggers only pause one thread at a time.
It took some effort to make them all pause correctly - including blocked threads.

You can try any other debugger, for example pdb.

Nir

Noam Yorav-Raphael

unread,
Jul 14, 2009, 3:00:43 AM7/14/09
to win...@googlegroups.com
Thanks, so I'll use pdb for that matter.
It's quite sad, however, because winpdb is really great! (I had to say
thanks sometime. Here's the opportunity.)

Thanks again,
Noam

2009/7/13 Nir Aides <n...@winpdb.org>:
Reply all
Reply to author
Forward
0 new messages