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

Error and "hang up" when accessing property of class in watch window

$
0
0

When I tried to access a property of type "Form" in debug mode (break point + watch window) I get the following error

SharpDevelop Version : 4.4.2.9749-39bf891c
.NET Version         : 4.0.30319.42000
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : German (Germany) (de-DE)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 225400kb
GC Heap Memory       : 40047kb

Unhandled WPF exception
Exception thrown:
Debugger.DebuggerException: Evaluation can not be stopped
   at Debugger.Eval.WaitForResult()
   at Debugger.Eval.InvokeMethod(DebugMethodInfo method, Value thisValue, Value[ args)
   at Debugger.Value.InvokeToString(Int32 maxLength)
   at ICSharpCode.NRefactory.Visitors.ExpressionEvaluator.FormatValue(Value val)
   at ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad.Evaluate(String code)
   at ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad.AcceptCommand(String command)
   at ICSharpCode.SharpDevelop.Gui.AbstractConsolePad.HandleInput(Key key)
   at ICSharpCode.SharpDevelop.Gui.AbstractConsolePad.<.ctor>b__0(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
16:37:01.856 [1] INFO - Threads refresh
16:37:05.211 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad
16:37:07.976 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:37:07.983 [1] DEBUG - Debugger: Callback: EvalComplete
16:37:14.248 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:37:14.248 [1] DEBUG - Debugger: Evaluated: sender.Form in 0 ms total
16:37:16.872 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:37:16.874 [1] DEBUG - Debugger: Callback: EvalComplete
16:37:23.247 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:37:23.247 [1] DEBUG - Debugger: Evaluated: sender.Icon in 0 ms total
16:37:26.799 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:37:26.801 [1] DEBUG - Debugger: Callback: EvalComplete
16:37:50.305 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:37:50.306 [1] DEBUG - Debugger: Callback: EvalComplete
16:37:50.311 [1] DEBUG - Debugger: Evaluated: sender.ToString in 6 ms total
16:38:05.418 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:38:05.418 [1] DEBUG - Debugger: Evaluated: sender.Properties in 0 ms total
16:38:26.570 [1] DEBUG - Debugger: Evaluated: sender in 0 ms total
16:38:26.570 [1] DEBUG - Debugger: Resolving FileWatcher.Watcher
16:38:26.571 [1] DEBUG - Debugger: Evaluated: (FileWatcher.Watcher)sender in 1 ms total
16:38:26.571 [1] DEBUG - Debugger: Evaluated: ((FileWatcher.Watcher)sender) in 1 ms total
16:38:26.609 [1] DEBUG - Debugger: Using backing field for Form FileWatcher.Watcher.get_Form()
16:38:26.624 [1] DEBUG - Debugger: Evaluated: ((FileWatcher.Watcher)sender).Form in 53 ms total
16:38:27.124 [1] DEBUG - Debugger: Aborting eval: Function call: String System.Object.ToString()
16:38:30.135 [1] DEBUG - Debugger: Rude aborting eval: Function call: String System.Object.ToString()

---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad
ProjectService.OpenSolution: [Solution: FileName=C:\Development\Projects\FileWatcher\FileWatcher.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [CSharpProject: FileWatcher]


Viewing all articles
Browse latest Browse all 1764

Trending Articles