[Mono-list] Ignoring NullReferenceExceptions from Mono in gdb

Paolo Molaro lupus at ximian.com
Thu Mar 22 11:28:30 EDT 2007


On 03/22/07 Chris Seaton wrote:
> Throwing NullReferenceException is a normal part of the operation of  
> a part of my program, sometimes several thousands will be thrown. I'm  
> debugging Mono in gdb and I'm not interested in seeing each Program  
> received signal SIGBUS, Bus error. and having to manually continue.  
> Can I suppress then and always automatically continue?

Inside gdb type:
	help handle

handle SIGBUS nostop noprint nopass
handle SIGSEGV nostop noprint nopass

should work.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list