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?

1 Answer 1

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

1
  • That seems so obvious, and works great, thanks :) Commented Sep 22, 2014 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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