Exception handler fails

GieltjEGieltjE Posts: 28 Bronze 2
edited March 10, 2014 9:52AM in SmartAssembly
This scenario only happens when compiling an X64 program with control flow lower than strongest.

This happens on: ExceptionReporting.Report(exception) and the normal exception handling.

System.NullReferenceException: Object reference not set to an instance of an object.
at SmartAssembly.SmartExceptionsCore.UI.HeaderControl..ctor()
at SmartAssembly.SmartExceptionsCore.UI.HeaderControl..ctor(String )
at SmartAssembly.SmartExceptionsWithUI.ExceptionReportingForm..ctor(UnhandledExceptionHandler , ReportExceptionEventArgs )
at SmartAssembly.SmartExceptionsWithUI.UnhandledExceptionHandlerWithUI.OnReportException(ReportExceptionEventArgs )
at SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception , Boolean , Boolean )

Edit:

Found the culprit, setting debug info to Full in visual studio fixes it, the weird thing is that X84 works fine with pdb only

Comments

Sign In or Register to comment.