Hi all, I was looking for an object list in console and I received this error.
Thanks in advance
SharpDevelop Version : 5.0.0.4755-c848dc28
.NET Version : 4.5.50938
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture : Italian (Italy) (it-IT)
Current UI language : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory : 331252kb
GC Heap Memory : 93631kb
Unhandled WPF exception
Exception thrown:
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at Debugger.AddIn.ExpressionEvaluationVisitor.FormatValue(Thread evalThread, 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__2(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:
10:30:47.183 [1] DEBUG - Resolved (Line 348, Col 1) to
10:30:47.183 [1] DEBUG - Resolved (Line 348, Col 1) to
10:30:47.199 [12] DEBUG - Resolved (Line 348, Col 1) to
10:30:48.679 [21] DEBUG - Resolved (Line 352, Col 1) to
10:30:51.565 [7] DEBUG - Resolved (Line 365, Col 1) to [ResolveResult System.Void]
10:30:52.110 [6] DEBUG - Resolved (Line 364, Col 1) to
10:30:52.891 [18] DEBUG - Resolved (Line 365, Col 1) to [ResolveResult System.Void]
10:30:53.938 [1] DEBUG - ParseInformationUpdated C:\Massimo\Clienti\SW\DLL\2010\AutoCAD\AutoCAD\AutoCAD.cs (updated)
10:30:54.006 [1] DEBUG - Update Foldings
10:30:54.014 [3] DEBUG - Resolved (Line 368, Col 1) to
10:30:56.833 [12] DEBUG - Resolved (Line 365, Col 43) to [ConstantResolveResult System.String = AcDbRotatedDimension]
10:30:57.704 [5] DEBUG - Resolved (Line 365, Col 42) to [ConstantResolveResult System.String = AcDbRotatedDimension]
10:30:58.029 [1] DEBUG - Resolved (Line 366, Col 40) to
10:30:58.029 [1] DEBUG - Resolved (Line 366, Col 40) to
10:31:00.329 [1] DEBUG - ParseInformationUpdated C:\Massimo\Clienti\SW\DLL\2010\AutoCAD\AutoCAD\AutoCAD.cs (updated)
10:31:00.399 [1] DEBUG - Update Foldings
10:31:00.407 [7] DEBUG - Resolved (Line 365, Col 43) to [ConstantResolveResult System.String = AcDbOrdinateDimension]
10:31:02.081 [16] DEBUG - Resolved (Line 365, Col 35) to [ConstantResolveResult System.String = AcDbOrdinateDimension]
10:31:04.067 [21] DEBUG - Resolved (Line 366, Col 78) to [ConstantResolveResult System.String = Rotated dimension]
10:31:04.643 [1] DEBUG - ParseInformationUpdated C:\Massimo\Clienti\SW\DLL\2010\AutoCAD\AutoCAD\AutoCAD.cs (updated)
10:31:04.738 [1] DEBUG - Update Foldings
10:31:04.748 [12] DEBUG - Resolved (Line 366, Col 82) to [ConstantResolveResult System.String = Ordinate dimension]
10:31:04.798 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad
10:31:06.221 [1] DEBUG - Resolved (Line 368, Col 13) to [MemberResolveResult [SpecializedProperty System.Collections.Generic.Dictionary`2[[System.String],[System.Object]].Values():System.Collections.Generic.Dictionary`2+ValueCollection[[System.String],[System.Object]]]]
10:31:06.235 [1] ERROR - Unhandled WPF exception
--> Exception:
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at Debugger.AddIn.ExpressionEvaluationVisitor.FormatValue(Thread evalThread, 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__2(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:\Massimo\Clienti\SW\DLL\2010\AutoCAD\AutoCAD.sln with 3 projects]
ProjectService.CurrentProject: [CSharpProject: Test]
Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.Pads.ConsolePad