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


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

  • That seems so obvious, and works great, thanks :) 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.