- I was in the Set() function
- I single-step through the function; both statements execute as expected
- I Continue or Single-Step out of Set() (either produces the same result)
I do not understand what happened at that point -- my single step resulted in "Evaluation of: Unknown evaluation" -- whatever that is -- and then a call to ToString(). I have no idea why that happened instead of unwinding the call stack that got to the Set() call. The system appeared "hung" -- presumably at the Wait() call. (FWIW: I looked at the multiple call stacks view just to be sure and this is all happening on the same thread.)
Note: Sometimes I get the above result, and sometimes NT just goes away. That is consistent with results when running without VS -- sometimes NT just vanishes, and other times Windows says NT is unresponsive.
public int MA_VerticalShiftLength { get { PrintGetEntry(); return ma_PeriodLength; } set { PrintSetEntry(); ma_PeriodLength = value; SS here => } } } // class MA_VerticalShift #endregion // MA_VerticalShift expandable object
[Managed to Native Transition] <=== Exception here WindowsBase.dll!System.Windows.Threading.DispatcherSynchronizationContext.Wait(System.IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) Unknown [Native to Managed Transition] [Managed to Native Transition] NinjaTrader.Gui.dll!NinjaTrader.Gui.NinjaScript.NinjaScriptOutput.OnCodeOutputEvent(object sender, NinjaTrader.Code.OutputEventArgs e) Unknown NinjaTrader.Core.dll!NinjaTrader.Code.Output.Process(string message, NinjaTrader.NinjaScript.PrintTo outputTab) Unknown [B]NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaPropertyBase.PrintPropertyEntry(string getSet, string message, string property) Line 138 C# NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaPropertyBase.PrintGetEntry(string message, string property) Line 127 C# NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaMA.MA_VerticalShift.MA_VerticalShiftLength.get() Line 775 C# NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaMA.MA_VerticalShift.ToString() Line 709 C#[/B] Evaluation of: Unknown evaluation SS here ==>[B] NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaMA.MA_VerticalShift.MA_VerticalShiftLength.set(int value) Line 778 C# NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaMA.MA_VerticalShift.Clone() Line 672 C# NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.VsaMA.Clone() Line 173 C# NinjaTrader.Custom.dll!NinjaTrader.NinjaScript.Indicators.AAExpandablePropertyDemo.Clone() Line 81 C#[/B] NinjaTrader.Gui.dll!NinjaTrader.Gui.Tools.IndicatorSelector..ctor.AnonymousMethod__7_0(object selected) Unknown NinjaTrader.Gui.dll!NinjaTrader.Gui.Tools.ObjectDialogViewModel<NinjaTrader.Gui.NinjaScript.IndicatorRenderBase>.OnAddItem(object selected) Unknown NinjaTrader.Gui.dll!NinjaTrader.Gui.Tools.ObjectDialogViewModel<NinjaTrader.Gui.NinjaScript.IndicatorRenderBase>.OnAvailableDoubleClick() Unknown NinjaTrader.Gui.dll!NinjaTrader.Gui.Tools.ObjectDialog.OnAvailableDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) Unknown PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) Unknown PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) Unknown PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source, System.Windows.RoutedEventArgs args, bool reRaised) Unknown
Comment