7

I have a target that automatically runs after I load it in to Ollydbg. This form, doesn't stop at the entry point (but continues to execute and at a point it pauses, I have to press shift+f9.)

Is there any way to debug it ?

perror
  • 19,083
  • 29
  • 87
  • 150

2 Answers2

5

set the radio button system breakpoint in debugging options

alt+o -> events -> make first pause at -> system breakpoint

then analyze if TLS Callbacks , DllInit Routines exist in the executable these routines can alter the execution behavior

blabb
  • 1,346
  • 9
  • 11
1

Well, I found this type of automatic run when a .NET target is loaded in Olly. If you are trying to debug a .NET target, consider Reflector instead of Olly.