Sorry for the confusion.
Mike Boilen
Developer
.NET Compact Framework
This posting is provided "AS IS" with no warranties, and confers no rights.
http://www.gotdotnet.com/team/netcf/FAQ.aspx
--------------------
| From: "Stokes" <bre...@spammail.com>
| Subject: Unhandled exception occurs when calling MethodInfo.Invoke
| Date: Fri, 14 Mar 2003 12:05:06 -0800
| Lines: 9
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <#$FA$Sm6CH...@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: itron9-1.itron.com 198.182.9.1
| Path:
cpmsftngxa08.phx.gbl!cppssbbsa01.microsoft.com!news-out.cwix.com!newsfeed.cw
ix.com!news-hub.siol.net!newsfeed.media.kyoto-u.ac.jp!msrtrans1!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa08.phx.gbl
microsoft.public.dotnet.framework.compactframework:19012
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
Sorry for making this a bigger issue than it probably needs to be, but for
our unit testing, we allow for the test to expect certain exceptions and it
would really be nice if it didn't break into the debugger when this
exception was received.
"Mike Boilen [MS]" <mbo...@online.microsoft.com> wrote in message
news:GYVSCco6...@cpmsftngxa08.phx.gbl...
> This is an implementation detail of the way the .net Compact Framework
> handles exceptions. The debugger cannot "see" the try...catch statement
> around the call to MethodInfo::Invoke from the place where the exception
is
> thrown. Because of this, it indicates that there is an unhandled
exception
> when the debugger is connected. If you continue from the exception, it
> will still be caught by the try...catch you have around your call to
> MethodInfo::Invoke. If there is no debugger attached, you will not see
any
> notification about an unhandled exception.
>
> Sorry for the confusion.
>
> Mike Boilen
> Developer
> NET Compact Framework
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> http://www.gotdotnet.com/team/netcf/FAQ.aspx
>
> --------------------
> | From: "Stokes" <bre...@spammail.com>
> | Subject: Unhandled exception occurs when calling MethodInfo.Invoke
> | Date: Fri, 14 Mar 2003 12:05:06 -0800
> | Lines: 9
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
> | Message-ID: <#$FA$Sm6CH...@TK2MSFTNGP10.phx.gbl>
> | Newsgroups: microsoft.public.dotnet.framework.compactframework
> | NNTP-Posting-Host: itron9-1.itron.com 198.182.9.1
> | Path:
>
cpmsftngxa08.phx.gbl!cppssbbsa01.microsoft.com!news-out.cwix.com!newsfeed.cw
>
ix.com!news-hub.siol.net!newsfeed.media.kyoto-u.ac.jp!msrtrans1!TK2MSFTNGP08
This posting is provided "AS IS" with no warranties, and confers no
rights.ng this a bigger issue than it probably needs to be, but for