[Mono-dev] signal issue? crash when debugger attached and web request fails

Robert Jordan robertj at gmx.net
Wed Feb 22 23:53:10 UTC 2017


Jonathan,

On 21.02.2017 14:53, Jonathan Mitchell wrote:
>
> I have some test code for for raising NullReferenceException that I
> previously used to see just how my app processes managed exceptions
> into Obj-C ones. When LLDB is attached the behaviour for this test
> code is that LLDB does NOT catch the SIGSEGV - which i find curious:

How are you raising this NullReferenceException? IIRC, a simple

	throw new NullReferenceException ();

does not cause a SIGSEGV.

Robert



More information about the Mono-devel-list mailing list