I'm just trying to use Visual Studio 2015 Professional to do simple debugging. I followed the steps in one of your videos using the sample MA Crossover strategy: 1) open ES chart, 2) apply strategy to chart, 2) open Ninjascript Editor, load strategy, make sure debug is checked, 3) click visual studio button in editor toolbar, 4( VS 2015 starts fine, and I open strategy source file and set a breakpoint at the start of OnBarUpdate and OnStateChanged, 5) attach to NinjaTrader process (it says its loaded the strategy and is using actively managed).
I immediately get a break with the following exception:
ExecutionEngineException was unhandled:
An unhandled exception of type 'System.ExecutionEngineException' occurred in Unknown Module.
If I click "Stop Debugging", NinjaTrader terminates. Any ideas?
Comment