I have a breakpoint in an async background worker event. Everytime I try to break there, I get this exception. I believe I've ran into this exception before in a similar scenario, but I'm getting older and my memory isn't what it used to be. :)
SharpDevelop Version : 5.0.0.4755-c848dc28
.NET Version : 4.5.50938
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : English (United States) (en-US)
Terminal Server Session
Working Set Memory : 214800kb
GC Heap Memory : 97061kb
Exception thrown:
Debugger.DebuggerException: Evaluation can not be stopped
at Debugger.Eval.WaitForResult()
at Debugger.Eval.InvokeMethod(Thread evalThread, IMethod method, Value thisValue, Value[ args)
at Debugger.Value.InvokeToString(Thread evalThread, Int32 maxLength)
at Debugger.AddIn.TreeModel.ValueNode.GetValueAndUpdateUI()
at Debugger.AddIn.TreeModel.ValueNode..ctor(IImage image, String name, Func`1 getValue, Action`1 setValue)
at Debugger.AddIn.TreeModel.ValueNode.<GetLocalVariables>d__21.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Gui.Pads.LocalVarPad.RefreshPad()
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.RefreshPads()
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_DebuggingPaused(Object sender, DebuggerPausedEventArgs e)
at Debugger.Process.OnPaused(DebuggerPausedEventArgs e)
at Debugger.ManagedCallback.<>c__DisplayClass1.<ExitCallback>b__0()
at Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
at Debugger.MTA2STA.PerformCall()
at Debugger.MTA2STA.PerformAllCalls()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
---- Recent log messages:
15:43:55.430 [1] DEBUG - Resolved (Line 203, Col 1) to
15:43:56.153 [19] DEBUG - Resolved (Line 204, Col 31) to
15:43:56.569 [1] DEBUG - Resolved (Line 214, Col 22) to
15:43:57.545 [1] DEBUG - Resolved (Line 214, Col 22) to
15:44:02.707 [1] DEBUG - Resolved (Line 214, Col 22) to
15:44:05.899 [1] DEBUG - Resolved (Line 208, Col 1) to
15:44:08.177 [1] DEBUG - Resolved (Line 210, Col 29) to [LocalResolveResult System.Collections.Generic.List`1[[System.Object]] exportValues;]
15:44:09.842 [1] DEBUG - Resolved (Line 215, Col 57) to
15:44:12.127 [1] DEBUG - Resolved (Line 237, Col 18) to
15:44:20.341 [1] DEBUG - Resolved (Line 237, Col 18) to
15:44:28.309 [1] DEBUG - Resolved (Line 237, Col 18) to
15:44:29.432 [1] DEBUG - Resolved (Line 237, Col 18) to
15:44:31.704 [1] DEBUG - Resolved (Line 216, Col 28) to [MemberResolveResult [Property System.ComponentModel.DoWorkEventArgs.Result]]
15:44:33.131 [1] DEBUG - Resolved (Line 214, Col 3) to [ResolveResult System.Void]
15:44:36.408 [1] DEBUG - Resolved (Line 205, Col 14) to
15:44:52.164 [1] INFO - Open file c:\Users\DJ\Documents\Brandcode Manager 2.x (OPC EVAL)\Brandcode Manager\Forms\dlgExport.cs
15:44:52.170 [1] INFO - Evaluated node 'sender' in 3 ms
15:44:52.173 [1] INFO - Evaluated node 'e' in 2 ms
15:44:52.175 [1] INFO - Evaluated node 'dataPaths' in 2 ms
15:44:52.176 [1] INFO - Evaluated node 'exportPaths' in 1 ms
15:44:52.178 [1] INFO - Evaluated node 'exportValues' in 1 ms
15:44:52.179 [1] INFO - Evaluated node 'limit' in 0 ms
15:44:52.179 [1] INFO - Evaluated node 'tryPLCRead' in 0 ms
15:44:52.179 [1] INFO - Evaluated node 'pointer' in 0 ms
15:45:01.261 [1] ERROR - ThreadException caught
--> Exception:
Debugger.DebuggerException: Evaluation can not be stopped
at Debugger.Eval.WaitForResult()
at Debugger.Eval.InvokeMethod(Thread evalThread, IMethod method, Value thisValue, Value[ args)
at Debugger.Value.InvokeToString(Thread evalThread, Int32 maxLength)
at Debugger.AddIn.TreeModel.ValueNode.GetValueAndUpdateUI()
at Debugger.AddIn.TreeModel.ValueNode..ctor(IImage image, String name, Func`1 getValue, Action`1 setValue)
at Debugger.AddIn.TreeModel.ValueNode.<GetLocalVariables>d__21.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ICSharpCode.SharpDevelop.Gui.Pads.LocalVarPad.RefreshPad()
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.RefreshPads()
at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_DebuggingPaused(Object sender, DebuggerPausedEventArgs e)
at Debugger.Process.OnPaused(DebuggerPausedEventArgs e)
at Debugger.ManagedCallback.<>c__DisplayClass1.<ExitCallback>b__0()
at Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
at Debugger.MTA2STA.PerformCall()
at Debugger.MTA2STA.PerformAllCalls()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
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.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\Users\DJ\Documents\Brandcode Manager 2.x (OPC EVAL)\Brandcode Manager.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: Brandcode Manager]
Workbench.ActiveContent: [AvalonEditViewContent C:\Users\DJ\Documents\Brandcode Manager 2.x (OPC EVAL)\Brandcode Manager\Forms\dlgExport.cs]