It is not possible in general. Debugger does not change real thread context, only OS can change current thread.
The only way: set breakpoint on the IP of the interesting thread and wait for breakpoint hitting.
But first of all, try to use trace() function: it will work through different thread.
The only way: set breakpoint on the IP of the interesting thread and wait for breakpoint hitting.
But first of all, try to use trace() function: it will work through different thread.