single stepping after an exception

Hello

Suppose an application generated an access violation and the debugger
reported it.
Manually, I change the EIP to another location and want to continue single
stepping, but if I press “t” the exception handler is executed (as if “gu”
was used).

I could use “gh” to mask the exception but I don’t want to resume the
application.

Please advise.


Elias

What about ‘gh = ?’

Never tried it myself, but it seems like it might work.

Good luck,

mm

Yes, it works but there’s a catch or I don’t know how to use it properly:

Since I want to mask exception and continue stepping from another address
say ADDR, I type:

gh=ADDR ADDR

Meaning execute at ADDR and break at ADDR, after the BP I could continue
tracing. It seems that WinDbg does not break on a breakpoint when EIP and BP
addr are the same.


Elias

wrote in message news:xxxxx@windbg…
> What about ‘gh = ?’
>
> Never tried it myself, but it seems like it might work.
>
>
> Good luck,
>
> mm
>