Re: MethodInfo.Invoke and TargetInvocationException
- From: "Paul E Collins" <find_my_real_address@xxxxxxx>
- Date: Thu, 28 Feb 2008 11:06:46 -0000
"Lasse Vågsæther Karlsen" <lasse@xxxxxxxxxxx> wrote:
Is there a way for me to re-throw the inner exception so that Visual
Studio pops up at the method being invoked with the exception that was
thrown there, instead of always stopping in our base class?
Choose "Exceptions" from the Debug menu, expand "Common Language Runtime
Exceptions", and tick the Thrown box next to
System.Reflection.TargetInvocationException. Then, whenever that
exception occurs, Visual Studio will break immediately at that point.
Eq.
.
- Follow-Ups:
- Re: MethodInfo.Invoke and TargetInvocationException
- From: Lasse Vågsæther Karlsen
- Re: MethodInfo.Invoke and TargetInvocationException
- References:
- MethodInfo.Invoke and TargetInvocationException
- From: Lasse Vågsæther Karlsen
- MethodInfo.Invoke and TargetInvocationException
- Prev by Date: Re: How to get events assigned to ToolStripMenuItem.Click
- Next by Date: Re: Unable to debug DLL with PDB files
- Previous by thread: MethodInfo.Invoke and TargetInvocationException
- Next by thread: Re: MethodInfo.Invoke and TargetInvocationException
- Index(es):
Relevant Pages
|