How can we help you today? How can we help you today?

Exception handler fails

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
GieltjE
0

Comments

1 comment

Add comment

Please sign in to leave a comment.