Hi.
When I click to Go to definition item in context menu of any costructor if profiling session, unhandled exception pop-up appeares instead of going to definition of constructor.
Have a nice day ;)
-----------------------------------------------------------------------------------------------------------------------------
Exception text:
SharpDevelop Version : 5.0.0.4395-Beta 4-6585614e
.NET Version : 4.0.30319.34014
OS Version : Microsoft Windows NT 6.3.9600.0
Current culture : Czech (Czech Republic) (cs-CZ)
Current UI language : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 214808kb
GC Heap Memory : 72930kb
Unhandled WPF exception
Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.AddIn.Commands.GoToDefinition.Run()
at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---- Recent log messages:
13:12:04.068 [1] INFO - Enable DC: True
13:12:04.068 [1] INFO - Profile .NET internals: False
13:12:04.068 [1] INFO - Track events: False
13:12:04.124 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.CompilerMessageView
13:12:05.118 [1] INFO - Open file I:\Testy\C#\TestOnly\ProfilingSessions\Session20140526_131204.sdps
13:12:05.134 [1] DEBUG - OpenedFileClosed: I:\Testy\C#\TestOnly\ProfilingSessions\Session20140526_131204.sdps
13:12:05.136 [1] DEBUG - ActiveContentChanged to ICSharpCode.Profiler.AddIn.Views.ProfilingReportViewer
13:12:05.136 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Session20140526_131204.sdps]
13:12:05.136 [1] DEBUG - NavigationService
ActiveViewContent: Session20140526_131204.sdps
Subview: Session20140526_131204.sdps
13:12:05.136 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.Profiler.AddIn.Views.ProfilingReportViewer
13:12:05.233 [12] DEBUG - Git: OverlayIconManager Thread started
13:12:05.246 [1] INFO - Initialize DirectoryNode I:\Testy\C#\TestOnly
13:12:05.336 [12] DEBUG - Git: OverlayIconManager Thread finished
13:12:10.473 [60] DEBUG - Telling worker process to exit
13:12:10.473 [60] DEBUG - Waiting for thread-join
13:12:10.475 [44] DEBUG - Cannot read from WorkerProcess 9500: end of stream
13:12:10.475 [44] DEBUG - Stopped reading from WorkerProcess 9500.
13:12:10.475 [44] DEBUG - Telling worker process to exit
13:12:10.475 [44] DEBUG - End of reader thread on WorkerProcess 9500.
13:12:10.477 [60] DEBUG - Joined!
13:12:28.306 [1] ERROR - Unhandled WPF exception
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.AddIn.Commands.GoToDefinition.Run()
at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
13:12:33.501 [1] ERROR - Unhandled WPF exception
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.AddIn.Commands.GoToDefinition.Run()
at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
13:12:36.778 [1] ERROR - Unhandled WPF exception
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.AddIn.Commands.GoToDefinition.Run()
at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
13:12:40.738 [1] ERROR - Unhandled WPF exception
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.AddIn.Commands.GoToDefinition.Run()
at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
13:14:59.437 [1] ERROR - Unhandled WPF exception
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.AddIn.Commands.GoToDefinition.Run()
at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution I:\Testy\C#\TestOnly\TestOnly.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: TestOnly]
Workbench.ActiveContent: ICSharpCode.Profiler.AddIn.Views.ProfilingReportViewer