Red Gate forums :: View topic - Exception handler fails
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 6
SmartAssembly 6 forum

Exception handler fails

Search in SmartAssembly 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 24 Aug 2013
Posts: 13

PostPosted: Fri Mar 07, 2014 2:25 pm    Post subject: Exception handler fails Reply with quote

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 )


Found the culprit, setting debug info to Full in visual studio fixes it, the weird thing is that X84 works fine with pdb only
Back to top
View user's profile Send private message

Joined: 12 Mar 2009
Posts: 593

PostPosted: Mon Mar 10, 2014 2:52 pm    Post subject: Reply with quote

If you could send a sample reproduction project into us at we would investigate this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group