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

Error debugging step by step

$
0
0

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      : Portuguese (Portugal) (pt-PT)
Current UI language  : en
Working Set Memory   : 170004kb
GC Heap Memory       : 64057kb

Exception thrown:
System.InvalidOperationException: Could not find class for token 33554434
   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction)
   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction, List`1 typeArgs)
   at Debugger.StackFrame..ctor(Thread thread, ICorDebugILFrame corILFrame, UInt32 chainIndex, UInt32 frameIndex)
   at Debugger.Thread.<get_Callstack>d__0.MoveNext()
   at Debugger.Thread.GetCallstack(Int32 maxFrames)
   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.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:
14:25:41.742 [1] INFO - Saving layout file: C:\Users\javn\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml
14:25:41.763 [1] INFO - Loading layout file: C:\Users\javn\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml, hideAllLostPads=False
14:25:41.933 [1] DEBUG - Creating pad ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad...
14:25:41.946 [1] DEBUG - ChooseLayoutCommand.LayoutChanged(object,EventArgs)
14:25:41.946 [1] DEBUG - ChooseLayoutCommand.Run()
14:25:41.946 [1] INFO - Saving layout file: C:\Users\javn\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml
14:25:42.022 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent S:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts\TextTemplateCompilers\RdStyleTemplateCompiler\RdStyleTextTemplate.cs]
14:25:42.699 [1] DEBUG - Resolved (Line 75, Col 4) to
14:25:43.065 [1] DEBUG - Resolved (Line 68, Col 5) to
14:25:44.017 [UnitTesting Pipe Reader] DEBUG - Start reading pipe
14:25:44.682 [1] DEBUG - Resolved (Line 69, Col 4) to
14:25:46.357 [1] INFO - Open file s:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts\TextTemplateCompilers\RdStyleTemplateCompiler\RdStyleTextTemplate.cs
14:25:46.357 [1] DEBUG - Resolved (Line 62, Col 4) to
14:25:46.373 [1] ERROR - ThreadException caught
--> Exception:
System.InvalidOperationException: Could not find class for token 33554434
   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction)
   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction, List`1 typeArgs)
   at Debugger.StackFrame..ctor(Thread thread, ICorDebugILFrame corILFrame, UInt32 chainIndex, UInt32 frameIndex)
   at Debugger.Thread.<get_Callstack>d__0.MoveNext()
   at Debugger.Thread.GetCallstack(Int32 maxFrames)
   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.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()
14:25:46.598 [1] DEBUG - Resolved (Line 62, Col 4) to
14:25:48.192 [1] DEBUG - Resolved (Line 62, Col 4) to
14:25:49.206 [1] DEBUG - Resolved (Line 73, Col 4) to
14:25:49.206 [1] DEBUG - Resolved (Line 73, Col 4) to
14:25:49.222 [1] DEBUG - Resolved (Line 73, Col 4) to
14:25:49.254 [1] DEBUG - Resolved (Line 73, Col 4) to
14:25:49.319 [1] DEBUG - Resolved (Line 73, Col 4) to
14:25:49.673 [1] INFO - Debugger Command: StepOver
14:25:49.737 [1] INFO - Open file s:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts\TextTemplateCompilers\RdStyleTemplateCompiler\RdStyleTextTemplate.cs
14:25:49.737 [1] DEBUG - Resolved (Line 66, Col 4) to
14:25:49.737 [1] ERROR - ThreadException caught
--> Exception:
System.InvalidOperationException: Could not find class for token 33554434
   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction)
   at Debugger.TypeSystemExtensions.Import(ICompilation compilation, ICorDebugFunction corFunction, List`1 typeArgs)
   at Debugger.StackFrame..ctor(Thread thread, ICorDebugILFrame corILFrame, UInt32 chainIndex, UInt32 frameIndex)
   at Debugger.Thread.<get_Callstack>d__0.MoveNext()
   at Debugger.Thread.GetCallstack(Int32 maxFrames)
   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.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 S:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts.sln with 4 projects]
ProjectService.CurrentProject: [CSharpProject: TextTemplates.Parts]
Workbench.ActiveContent: [AvalonEditViewContent S:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts\TextTemplateCompilers\RdStyleTemplateCompiler\RdStyleTextTemplate.cs]

 


Viewing all articles
Browse latest Browse all 1764

Latest Images

Trending Articles



Latest Images