How to debug an exception handler ?
Tony Lambregts
tony_lambregts at telusplanet.net
Sat Apr 6 14:05:46 CST 2002
Laurent Pinchart wrote:
>Hi everybody,
>
>I have a windows program which raises an exception as part of its normal
>execution (it tries to call int 0x01). The program setups an exception
>handler, catches the exception, and resumes it execution after the call to
>int 0x01. This works fine when run in wine.
>
>However, when I try to run the program in winedbg, the debugger catches the
>exeception, interrupts the program execution, prints a register dump, stack
>dump & backtrace, and waits. If I continue the execution using 'cont' (after
>incrementing $eip by 2 to skip int 0x01), the program continues but the
>exception handler installed bu the user program is not called.
>
>I was wondering if it was a bug or a normal behaviour, and if it is normal
>behaviour, is there a workaround ?
>
>Thanks in advance for your help.
>
>Laurent Pinchart
>
>
Keep in mind that I am NOT a wine guru but it looks like copy protection
to me. My guess it you use trace relay the same thing will occure as
when you use the debugger.
Tony Lambregts
More information about the wine-devel
mailing list