Instead of getting "Unhandled Exception" popup, the app just freezes.

We are using WinCE.NET 4.2, EVC 4.0 SP2.

C++ Exception Handling and Run-Time Type Info have been built into the
platform. The /GX option is added to EVC.

A divide by zero exception just causes the app to freeze, shouldn't
there at least be an unhandled exception popup like there is on a
regular windows app?

Re: exception handling -- or lack thereof by Doug

Doug
Mon Apr 25 17:52:29 CDT 2005

This will happen if the kernel debugger is running but no debugger is
attached. The kernel debugger catches the exception, halts the machine, and
waits for a debugger to attach.

Try building your image with IMGNODEBUGGER=1 set. You can still use the
debugger as needed if you attach via KITL and run "s loaddbg" from the
Target Control window. This will load the debugger from the Flat Release
Directory.

--
Thanks!
Doug

-------------------------------------------------------------
Boring Microsoft legal disclaimer follows:
Reply via newsgroup. Please do not reply to dcook@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.
Any code provided in this posting is subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
-------------------------------------------------------------
"Andy" <andyturner74@yahoo.com> wrote in message
news:1114458795.250617.74430@z14g2000cwz.googlegroups.com...
>
> Instead of getting "Unhandled Exception" popup, the app just freezes.
>
> We are using WinCE.NET 4.2, EVC 4.0 SP2.
>
> C++ Exception Handling and Run-Time Type Info have been built into the
> platform. The /GX option is added to EVC.
>
> A divide by zero exception just causes the app to freeze, shouldn't
> there at least be an unhandled exception popup like there is on a
> regular windows app?
>



Re: exception handling -- or lack thereof by Andy

Andy
Tue Apr 26 09:15:47 CDT 2005

Hi Doug, thanks for your help!

I did a search in our project directory and found "set IMGNODEBUGGER="
in quite a few files. Do I need to change this to "set
IMGNODEBUGGER=1" in all the files, or is there a way to set this
somehow in Platform Builder?

Thank you,
Andy


Re: exception handling -- or lack thereof by Steve

Steve
Tue Apr 26 10:09:31 CDT 2005

What files and where? It would be quite unusual to have anything in the
build set that except the IDE or you set it manually for the command line.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com