[MonoDevelop] On expressions and cathpoints (debugger)

asanlua asantosluaces at hotmail.com
Tue Sep 2 09:53:54 EDT 2008


>No, that's correct. The only thing you have to do is add a catchpoint
>for the exceptions you want the debugger to stop for. The last time I
>saw the exception filter dialog it was adding a catchpoint for all
>exceptions, and that may be the problem you are having.

Well, maybe this was wrong code... I'm doing the following:

store.GetIterFirst (out iter);	
while (store.IterIsValid (iter)) {
	if ((bool)store.GetValue (iter, (int) Columns.Thrown) == true) {
		exceptions.AddCatchpoint ( (string) store.GetValue (iter, (int)
Columns.Name));
	}
	
	store.IterNext (ref iter);
}

In the userprefs file of a testing project, I can see the selection done,
and it seems right... Anyway, if I don't use the exception filter dialog
(and I check that there is no catchpoints in the userprefs file), the
debugger continues stopping in the exception, showing the following:

Thread 1 received signal 11.


-- 
View this message in context: http://www.nabble.com/On-expressions-and-cathpoints-%28debugger%29-tp19265552p19270724.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list