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

5 beta 2 >> Unhandled Exception >> debugging NinjaTrader

$
0
0

SharpDevelop Version : 5.0.0.4053-Beta 2-c42c4dab

.NET Version         : 4.0.30319.34011

OS Version           : Microsoft Windows NT 6.3.9600.0

Current culture      : English (United States) (en-US)

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 228568kb

GC Heap Memory       : 97850kb

 

Unhandled WPF exception

Exception thrown:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

   at System.Collections.Generic.List`1.Enumerator.MoveNext()

   at Debugger.NDebugger.Detach()

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

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

   at ICSharpCode.SharpDevelop.Project.Commands.StopDebuggingCommand.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:

16:46:24.721 [1] DEBUG - Resolved (Line 113, Col 18) to 

16:46:24.886 [1] DEBUG - Resolved (Line 113, Col 18) to 

16:46:25.466 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.469 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.502 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.652 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.705 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.708 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.762 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:25.979 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:29.307 [1] DEBUG - Resolved (Line 387, Col 55) to 

16:46:30.075 [1] DEBUG - Resolved (Line 393, Col 10) to 

16:46:33.576 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:46:52.014 [1] DEBUG - Resolved (Line 382, Col 23) to [OperatorResolveResult System.String]

16:47:32.473 [1] DEBUG - Resolved (Line 391, Col 22) to 

16:47:34.247 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:47:36.747 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:47:36.877 [1] INFO - Debugger Command: Stop

16:47:36.927 [1] DEBUG - Resolved (Line 391, Col 11) to 

16:47:41.666 [1] INFO - Saving layout file: C:\Users\Admin\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml

16:47:41.670 [1] INFO - Loading layout file: C:\Users\Admin\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml, hideAllLostPads=False

16:47:41.741 [1] DEBUG - ChooseLayoutCommand.LayoutChanged(object,EventArgs)

16:47:41.742 [1] DEBUG - ChooseLayoutCommand.Run()

16:47:41.742 [1] INFO - Saving layout file: C:\Users\Admin\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml

16:47:41.750 [1] ERROR - Unhandled WPF exception

--> Exception:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

   at System.Collections.Generic.List`1.Enumerator.MoveNext()

   at Debugger.NDebugger.Detach()

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

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

   at ICSharpCode.SharpDevelop.Project.Commands.StopDebuggingCommand.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: <null>

ProjectService.CurrentProject: <null>

Workbench.ActiveContent: [AvalonEditViewContent C:\Users\Admin\Documents\NinjaTrader 7\bin\Custom\Indicator\AaaTest.cs]


Viewing all articles
Browse latest Browse all 1764

Trending Articles