First of all I must say that I am new to this area and I am sure that for a lot of people my questions will look too naive. I apologize for that.
In IDA plug-in I am getting an event notification that new thread started but for some reason I can't select it for debugging. Actually the real problem could be that �suspend_process� is not getting fully executed.
I am calling "suspend_process" before calling "select_thread" and although I am not getting any errors returned from either of the calls I think "suspend_process" is not getting properly executed.
The reasons for this are the following:
1. I am not getting "dbg_suspend_process" event.
2. The execution of the process stops and can't be resumed by "continue_process" call.
3. If I don't put "continue_process" at the end I can resume execution manualy from "Debugger" menu by selecting "Continue Process". If I do have call "continue_process" in my code then manual attempt fails.
4. Even if I do manage to resume the process manually I see that I still debugging the same thread as before, not the new one I am trying to select.
Greatly appreciate everybody's help






