Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

SD5 b02 - Debugger.DebuggerException: Thread has exited

$
0
0

 

Action:

Debug an application, set a breakpoint. I waited on the breakpoint some minutes, looked in the sourcecode,....

When I wanted to step to next code line I got an exception. This happens to me in SD regulary during debugging, when I´m not fast enough. In VS I never encountered such a behaviour, I forgot a breakpoint for hours and it worked.

 

Exception:

Exception thrown:
Debugger.DebuggerException: Thread has exited
bei Debugger.Thread.get_CorThread()
bei Debugger.Thread.get_IsInValidState()
bei Debugger.Thread.<get_Callstack>d__0.MoveNext()
bei Debugger.Thread.get_MostRecentStackFrame()
bei ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_DebuggingPaused(Object sender, DebuggerPausedEventArgs e)
bei Debugger.Process.OnPaused(DebuggerPausedEventArgs e)
bei Debugger.ManagedCallback.<>c__DisplayClass1.<ExitCallback>b__0()
bei Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
bei Debugger.MTA2STA.PerformCall()
bei Debugger.MTA2STA.PerformAllCalls()
bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- Recent log messages:
22:54:09.848 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:09.872 [1] DEBUG - Resolved (Line 69, Col 5) to
22:54:10.019 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:10.075 [1] DEBUG - Resolved (Line 69, Col 5) to
22:54:11.779 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:11.821 [1] DEBUG - Resolved (Line 69, Col 5) to
22:54:11.882 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:11.952 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:11.979 [1] DEBUG - Resolved (Line 69, Col 5) to
22:54:12.037 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:12.081 [1] DEBUG - Resolved (Line 69, Col 5) to
22:54:12.137 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:12.191 [1] DEBUG - Resolved (Line 69, Col 5) to
22:54:12.603 [1] INFO - Open file c:\Downloads\SharpDevelop\SharpDevelop_5.0.0.4053_Beta2_Source\src\AddIns\BackendBindings\CSharpBinding\Project\Src\CSharpOutlineContentHost.xaml.cs
22:54:12.618 [1] DEBUG - Resolved (Line 66, Col 5) to [ThisResolveResult CSharpBinding.CSharpOutlineContentHost]
22:54:12.662 [1] INFO - Evaluated node 'sender' in 0 ms
22:54:12.665 [1] INFO - Evaluated node 'e' in 2 ms
22:54:12.669 [1] INFO - Evaluated node 'parseInfo' in 4 ms
22:54:12.683 [1] INFO - Evaluated node 'this' in 13 ms
22:54:12.692 [1] INFO - Evaluating watch: (MethodDeclaration)dataNode
22:54:12.711 [1] DEBUG - Resolved (Line 66, Col 5) to [CastResolveResult ICSharpCode.NRefactory.CSharp.MethodDeclaration]
22:54:12.744 [1] DEBUG - Resolved (Line 66, Col 5) to [ThisResolveResult CSharpBinding.CSharpOutlineContentHost]
23:00:03.360 [1] DEBUG - Resolved (Line 66, Col 5) to [ThisResolveResult CSharpBinding.CSharpOutlineContentHost]
23:00:03.482 [1] INFO - Debugger Command: StepOver
23:00:03.528 [1] ERROR - ThreadException caught
--> Exception:
Debugger.DebuggerException: Thread has exited
bei Debugger.Thread.get_CorThread()
bei Debugger.Thread.get_IsInValidState()
bei Debugger.Thread.<get_Callstack>d__0.MoveNext()
bei Debugger.Thread.get_MostRecentStackFrame()
bei ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_DebuggingPaused(Object sender, DebuggerPausedEventArgs e)
bei Debugger.Process.OnPaused(DebuggerPausedEventArgs e)
bei Debugger.ManagedCallback.<>c__DisplayClass1.<ExitCallback>b__0()
bei Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
bei Debugger.MTA2STA.PerformCall()
bei Debugger.MTA2STA.PerformAllCalls()
bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- Post-error application state information:
Installed 3rd party AddIns: [ThemeTool 0.0.0.0]
ProjectService.CurrentSolution: [Solution C:\Downloads\SharpDevelop\SharpDevelop_5.0.0.4053_Beta2_Source\SharpDevelop.sln with 76 projects]
ProjectService.CurrentProject: [CSharpProject: CSharpBinding]
Workbench.ActiveContent: [AvalonEditViewContent C:\Downloads\SharpDevelop\SharpDevelop_5.0.0.4053_Beta2_Source\src\AddIns\BackendBindings\CSharpBinding\Project\Src\CSharpOutlineContentHost.xaml.cs]

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles