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

Exception while debugging

$
0
0

SharpDevelop Version : 5.0.0.4516-Beta 5-3e5b969d
.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   : 126184kb
GC Heap Memory       : 65035kb

Unhandled WPF exception
Exception thrown:
Debugger.DebuggerException: Can not raise event within callback.
   at Debugger.Process.OnResumed()
   at Debugger.Process.AsyncContinue(DebuggeeStateAction action, Thread threadToRun)
   at Debugger.Process.AsyncContinue()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Continue()
   at ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand.Run()
   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at ICSharpCode.Core.Presentation.ToolBarButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
10:32:03.267 [18] DEBUG - Waiting for thread-join
10:32:03.268 [6] DEBUG - Cannot read from WorkerProcess 3740: end of stream
10:32:03.268 [6] DEBUG - Stopped reading from WorkerProcess 3740.
10:32:03.268 [6] DEBUG - Telling worker process to exit
10:32:03.268 [6] DEBUG - End of reader thread on WorkerProcess 3740.
10:32:03.269 [18] DEBUG - Joined!
10:32:03.509 [18] DEBUG - Resolved (Line 48, Col 7) to
10:32:03.646 [18] DEBUG - Telling worker process to exit
10:32:03.646 [18] DEBUG - Waiting for thread-join
10:32:03.649 [24] DEBUG - Cannot read from WorkerProcess 2628: end of stream
10:32:03.649 [24] DEBUG - Stopped reading from WorkerProcess 2628.
10:32:03.649 [24] DEBUG - Telling worker process to exit
10:32:03.649 [24] DEBUG - End of reader thread on WorkerProcess 2628.
10:32:03.650 [18] DEBUG - Joined!
10:32:03.826 [1] INFO - Debugger Command: StepOver
10:32:03.865 [1] INFO - Open file s:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts\TextTemplateCompilers\RdStyleTemplateCompiler\RdStyleTextTemplate.cs
10:32:04.318 [1] INFO - Debugger Command: StepOver
10:32:04.340 [1] INFO - Open file s:\RadicalDevelop2\Projects\CodeLibrary\RadicalDevelop\RdDotNetApi\TextTemplates\TextTemplates.Parts\V1.0.0\TextTemplates.Parts\TextTemplateCompilers\RdStyleTemplateCompiler\RdStyleTextTemplate.cs
10:32:04.518 [1] DEBUG - Resolved (Line 50, Col 22) to
10:32:04.518 [1] DEBUG - Resolved (Line 50, Col 22) to
10:32:04.854 [5] DEBUG - Resolved (Line 50, Col 5) to [CSharpInvocationResolveResult [Method RadicalDevelop.TextTemplates.TemplateCompilers.RdStyleCompiler.RdStyleTextTemplate.CoreExecute(arg:RadicalDevelop.TextTemplates.ITextTemplateArg):System.Void]]
10:32:04.898 [1] INFO - Debugger Command: StepInto
10:32:04.913 [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 Debugger.ManagedCallback.StepComplete(ICorDebugAppDomain pAppDomain, ICorDebugThread pThread, ICorDebugStepper pStepper, CorDebugStepReason reason)
   at Debugger.ManagedCallbackProxy.<>c__DisplayClass1.<StepComplete>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()
10:32:10.948 [1] INFO - Debugger Command: Continue
10:32:10.948 [1] ERROR - Unhandled WPF exception
--> Exception:
Debugger.DebuggerException: Can not raise event within callback.
   at Debugger.Process.OnResumed()
   at Debugger.Process.AsyncContinue(DebuggeeStateAction action, Thread threadToRun)
   at Debugger.Process.AsyncContinue()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.Continue()
   at ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand.Run()
   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)
   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at ICSharpCode.Core.Presentation.ToolBarButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- 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

Trending Articles