While VS express edition is missing the ability to "attach to process" it still can be done, thx to this post:
What to do?
1) Open Visual Studio.
2) Create new project (I craeted regular console application), let call it NinjaTraderDebug.
3) Save the project and close visual studio.
4) Go to the project directory and open with notepad the NinjaTraderDebug.csproj.user file.
5) Edit it to look like this (the bold lines is what I added, of course you need to put your path to NinjaTrader.exe).
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\NinjaTrader 6.5\bin\NinjaTrader.exe</StartProgram>
</PropertyGroup>
</Project>
6) Close NinjaTrader if it is opened.
7) Open the ninjatraderDebug project in VisualStudio.
8) Hit "Play" (F5), this will launch NinjaTrader and will attach to it.
9) Now do sections 1 and 3 from here:
It works for me
Yuval.
Comment