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

SharpDevelop 5 beta Unhandled WPF exception in debug mode

$
0
0

STR:

1. In debug mode console, tried to get value of:  Page.MyTasksSummaryPage.Inventory.Grid.Rows[i][MyTasksSummaryFields.Static.DueDate].Value

get this---

The process is running
>

2. Add to watch list: Page.MyTasksSummaryPage.Inventory.Grid.Rows[i][MyTasksSummaryFields.Static.DueDate].Value

Error Message:

 

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      : English (Canada) (en-CA)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 281844kb

GC Heap Memory       : 102234kb

 

Unhandled WPF exception

Exception thrown:

Debugger.DebuggerException: Process is not paused.

   at Debugger.Process.AssertPaused()

   at Debugger.Thread.GetStackFrameAt(UInt32 chainIndex, UInt32 frameIndex)

   at Debugger.StackFrame.get_CorILFrame()

   at Debugger.StackFrame.AsyncStep(Boolean stepIn)

   at Debugger.StackFrame.AsyncStepOver()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.StepOver()

   at ICSharpCode.SharpDevelop.Project.Commands.StepDebuggingCommand.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)

   at ICSharpCode.Core.Presentation.MenuCommand.ShortcutCommandWrapper.Execute(Object parameter)

   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)

   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)

   at System.Windows.Input.KeyEventArgs.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.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)

   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)

   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)

   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)

   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:

12:03:07.873 [1] DEBUG - Resolved (Line 553, Col 43) to 

12:03:08.003 [1] DEBUG - Resolved (Line 553, Col 43) to 

12:03:08.872 [1] DEBUG - Resolved (Line 553, Col 43) to 

12:03:08.919 [1] DEBUG - Resolved (Line 544, Col 26) to 

12:03:09.101 [1] DEBUG - Resolved (Line 544, Col 26) to 

12:03:09.126 [1] DEBUG - Resolved (Line 544, Col 26) to 

12:03:09.200 [1] DEBUG - Resolved (Line 544, Col 26) to 

12:03:09.999 [1] DEBUG - Resolved (Line 541, Col 4) to 

12:03:10.710 [1] DEBUG - Resolved (Line 540, Col 5) to 

12:03:10.734 [1] DEBUG - Resolved (Line 540, Col 5) to 

12:03:10.810 [1] DEBUG - Resolved (Line 540, Col 5) to 

12:03:11.201 [1] DEBUG - Resolved (Line 540, Col 5) to 

12:03:11.927 [1] INFO - Debugger Command: StepOver

12:03:11.941 [1] ERROR - Unhandled WPF exception

--> Exception:

Debugger.DebuggerException: Process is not paused.

   at Debugger.Process.AssertPaused()

   at Debugger.Thread.GetStackFrameAt(UInt32 chainIndex, UInt32 frameIndex)

   at Debugger.StackFrame.get_CorILFrame()

   at Debugger.StackFrame.AsyncStep(Boolean stepIn)

   at Debugger.StackFrame.AsyncStepOver()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.StepOver()

   at ICSharpCode.SharpDevelop.Project.Commands.StepDebuggingCommand.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)

   at ICSharpCode.Core.Presentation.MenuCommand.ShortcutCommandWrapper.Execute(Object parameter)

   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)

   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)

   at System.Windows.Input.KeyEventArgs.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.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)

   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)

   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)

   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)

   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)

12:03:11.995 [1] DEBUG - Resolved (Line 540, Col 5) to 

12:03:13.106 [1] DEBUG - Resolved (Line 540, Col 5) to 

12:03:13.357 [1] DEBUG - Resolved (Line 539, Col 26) to [CSharpInvocationResolveResult [Method System.DateTime.AddMonths(months:System.Int32):System.DateTime]]

12:03:13.367 [1] DEBUG - Resolved (Line 539, Col 26) to [CSharpInvocationResolveResult [Method System.DateTime.AddMonths(months:System.Int32):System.DateTime]]

12:03:13.461 [1] DEBUG - Resolved (Line 539, Col 26) to [CSharpInvocationResolveResult [Method System.DateTime.AddMonths(months:System.Int32):System.DateTime]]

12:03:13.671 [1] INFO - Debugger Command: StepOver

12:03:13.674 [1] ERROR - Unhandled WPF exception

--> Exception:

Debugger.DebuggerException: Process is not paused.

   at Debugger.Process.AssertPaused()

   at Debugger.Thread.GetStackFrameAt(UInt32 chainIndex, UInt32 frameIndex)

   at Debugger.StackFrame.get_CorILFrame()

   at Debugger.StackFrame.AsyncStep(Boolean stepIn)

   at Debugger.StackFrame.AsyncStepOver()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.StepOver()

   at ICSharpCode.SharpDevelop.Project.Commands.StepDebuggingCommand.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)

   at ICSharpCode.Core.Presentation.MenuCommand.ShortcutCommandWrapper.Execute(Object parameter)

   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)

   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)

   at System.Windows.Input.KeyEventArgs.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.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)

   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)

   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)

   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)

   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)

12:03:13.719 [1] DEBUG - Resolved (Line 539, Col 26) to [CSharpInvocationResolveResult [Method System.DateTime.AddMonths(months:System.Int32):System.DateTime]]

12:03:14.567 [1] DEBUG - Resolved (Line 539, Col 26) to [CSharpInvocationResolveResult [Method System.DateTime.AddMonths(months:System.Int32):System.DateTime]]

12:03:15.048 [1] INFO - Debugger Command: StepOver

12:03:15.053 [1] ERROR - Unhandled WPF exception

--> Exception:

Debugger.DebuggerException: Process is not paused.

   at Debugger.Process.AssertPaused()

   at Debugger.Thread.GetStackFrameAt(UInt32 chainIndex, UInt32 frameIndex)

   at Debugger.StackFrame.get_CorILFrame()

   at Debugger.StackFrame.AsyncStep(Boolean stepIn)

   at Debugger.StackFrame.AsyncStepOver()

   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.StepOver()

   at ICSharpCode.SharpDevelop.Project.Commands.StepDebuggingCommand.Run()

   at ICSharpCode.Core.AbstractMenuCommand.System.Windows.Input.ICommand.Execute(Object parameter)

   at ICSharpCode.Core.CommandWrapper.Execute(Object parameter)

   at ICSharpCode.Core.Presentation.MenuCommand.ShortcutCommandWrapper.Execute(Object parameter)

   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)

   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)

   at System.Windows.Input.KeyEventArgs.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.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)

   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)

   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)

   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)

   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 C:\Users\Nancy.Wu\Documents\INTELEX V6\Automation\automation\Automation.sln with 11 projects]

ProjectService.CurrentProject: [CSharpProject: Intelex.Automation.WorkFlow]

Workbench.ActiveContent: [AvalonEditViewContent C:\Users\Nancy.Wu\Documents\INTELEX V6\Automation\automation\Intelex.Automation.WorkFlow\Tests\Workflow\WorkflowRecurrenceTests.cs]

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles