1

I would like to step into some code which is ran on a new thread. Luckily, after the initial startup this is the only thread that is newly created in the program. I can set the debugger to break on the creation of a new thread. But all I see is the WinAPI and lower level calls that execute the thread. How can I step into the code that is executed on the thread to see what it does?

3

BP on CreateThread, then see 3rd parameter -> lpStartAddress of the Thread (its EntryPoint). Now simply BP on that address and step from there when it breaks

| improve this answer | |
  • That seems so obvious, and works great, thanks :) – Tamás Szelei Sep 22 '14 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.