I was following the Excel DNA library "step by step" tutorial. all worked fine until the debugging of the library with excel, it crashed
it works normally in version 4.4
----------------------------------------------------------------------------------------------------------------------
SharpDevelop Version : 5.0.0.4053-Beta 2-c42c4dab
.NET Version : 4.0.30319.18052
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Spanish (Mexico) (es-MX)
Current UI language : en
Working Set Memory : 260472kb
GC Heap Memory : 67161kb
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.get_MostRecentStackFrame()
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:
22:01:45.033 [1] DEBUG - Resolved (Line 20, Col 1) to
22:01:45.093 [18] DEBUG - Received command ReportEvent
22:01:45.133 [18] DEBUG - Received command ReportEvent
22:01:45.173 [18] DEBUG - Received command ReportEvent
22:01:45.443 [18] DEBUG - Received command ReportEvent
22:01:46.113 [18] DEBUG - Received command ReportEvent
22:01:46.113 [18] DEBUG - Received command ReportEvent
22:01:46.113 [18] DEBUG - Received command BuildDone
22:01:46.113 [18] INFO - Finished building XLDNA_tst, success=True
22:01:46.123 [1] INFO - Debugger Command: Start (withDebugger=True)
22:01:46.123 [1] INFO - Saving layout file: D:\Users\djchapar\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml
22:01:46.133 [1] INFO - Loading layout file: D:\Users\djchapar\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml, hideAllLostPads=False
22:01:46.243 [1] DEBUG - ChooseLayoutCommand.LayoutChanged(object,EventArgs)
22:01:46.243 [1] DEBUG - ChooseLayoutCommand.Run()
22:01:46.243 [1] INFO - Saving layout file: D:\Users\djchapar\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml
22:01:46.317 [1] DEBUG - Resolved (Line 20, Col 1) to
22:01:46.820 [1] DEBUG - Resolved (Line 20, Col 1) to
22:01:56.110 [30] DEBUG - Telling worker process to exit
22:01:56.110 [30] DEBUG - Waiting for thread-join
22:01:56.110 [18] DEBUG - Cannot read from WorkerProcess 10488: end of stream
22:01:56.110 [18] DEBUG - Stopped reading from WorkerProcess 10488.
22:01:56.110 [18] DEBUG - Telling worker process to exit
22:01:56.110 [18] DEBUG - End of reader thread on WorkerProcess 10488.
22:01:56.110 [30] DEBUG - Joined!
22:02:04.840 [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.get_MostRecentStackFrame()
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 D:\Users\djchapar\Documents\SharpDevelop Projects\XLDNA_tst\XLDNA_tst.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: XLDNA_tst]
Workbench.ActiveContent: [AvalonEditViewContent D:\Users\djchapar\Documents\SharpDevelop Projects\XLDNA_tst\XLDNA_tst\MyClass.cs]