This is not reliable.
I urge you to fix your debugger problem first, and run it in a debugger, anything else is a guessing game.