I tried profiling our program but it crashed probably unrelated to SharpDevelop code
However the crash coused an unhandled exception in SharpDevelop
SharpDevelop Version : 5.0.0.4053-Beta 2-c42c4dab
.NET Version : 4.0.30319.18444
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Danish (Denmark) (da-DK)
Current UI language : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 198664kb
GC Heap Memory : 16132kb
Unhandled exception
Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.Controller.Profiler.CollectData32()
at ICSharpCode.Profiler.Controller.Profiler.DataCollection()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
---- Recent log messages:
19:24:53.599 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.StartPage.StartPageViewContent
19:24:53.623 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.PropertyPad...
19:24:53.657 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.WinForms.IWinFormsMenuService
19:24:53.660 [1] DEBUG - PropertyPad created
19:24:53.662 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Project.ProjectBrowserPad...
19:24:53.662 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.WinForms.IWinFormsToolbarService
19:24:53.666 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.ErrorListPad...
19:24:54.116 [14] DEBUG - Preload-Thread started.
19:24:54.855 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Editor.IEditorControlService
19:24:54.880 [1] DEBUG - Preload-Thread finished.
19:24:57.401 [1] DEBUG - [AddInManager2.Events] Package list download ended (success: True).
19:25:16.000 [1] INFO - Loading addin Profiler.AddIn
19:25:36.767 [7] DEBUG - Looking for existing UDC database in 2 directories
19:25:36.769 [7] INFO - Found existing UDC database: C:\Users\jod.LANTIC\AppData\Roaming\ICSharpCode\SharpDevelop5\..\SharpDevelop4\usageData.dat
19:25:36.771 [7] INFO - Found GUID in existing UDC database: 05317b3c-c573-4683-8388-1ac50d8a9036
19:28:16.816 [1] INFO - Profiler settings:
19:28:16.816 [1] INFO - Shared memory size: 67108864 (64 MB)
19:28:16.816 [1] INFO - Combine recursive calls: False
19:28:16.817 [1] INFO - Enable DC: True
19:28:16.817 [1] INFO - Profile .NET internals: True
19:28:16.817 [1] INFO - Track events: False
19:28:16.938 [1] DEBUG - ActiveContentChanged to
19:29:08.441 [1] DEBUG - ActiveContentChanged to ICSharpCode.StartPage.StartPageViewContent
19:30:47.946 [DataCollector] FATAL - UnhandledException caught
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at ICSharpCode.Profiler.Controller.Profiler.CollectData32()
at ICSharpCode.Profiler.Controller.Profiler.DataCollection()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
19:30:47.962 [DataCollector] FATAL - Runtime is terminating because of unhandled exception.
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: <null>
ProjectService.CurrentProject: <null>
Workbench.ActiveContent: System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at ICSharpCode.SharpDevelop.DispatcherMessageLoop.VerifyAccess()
at ICSharpCode.SharpDevelop.Workbench.WpfWorkbench.get_ActiveContent()
at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.<InitializeWorkbench>b__0()
at ICSharpCode.Core.ApplicationStateInfoService.GetCurrentApplicationStateInfo()