[MonoDevelop] On expressions and cathpoints (debugger)
Lluis Sanchez Gual
lluis at novell.com
Tue Sep 2 05:40:31 EDT 2008
El dt 02 de 09 de 2008 a les 00:42 -0700, en/na asanlua va escriure:
> Hi,
>
> I am trying to develop an expression evaluator for the integration of the
> debugger on MD, so I have to define this expressions in the debugger. I
> think that I have to do something similar as it is done in the watches list,
> but I don't understand this way properly. Can you please give me a helping
> hand about it?
To evaluate an expression you can use:
IdeApp.Services.DebuggingService.CurrentFrame.GetExpressionValue (someExpression, true)
>
> Also, how can I introduce a catchpoint in the debugger session, in order to
> handle it in the future? I mean, as far as I know, you can assign a
> catchpoint to some exceptions (defined by the user), but I don't know how to
> do this.
easy:
IdeApp.Services.DebuggingService.Breakpoints.AddCatchpoint (fullNameOfException);
Lluis.
More information about the Monodevelop-list
mailing list