Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Information: Remote Debuggin Ninja Trader and Symbols

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Information: Remote Debuggin Ninja Trader and Symbols

    If you wish to remote debug NinjaTrader custom scripts, when you attach the debugger you must find the correct location for the PDB or you won't be able to set breakpoints. NinjaTrader compiles the scripts into a DLL that is stored in the TMP folder as part of the NinjaTrader8 folder in the users Documents.
    1. Install the Visual Studio remote debugging tools on the PC running NinjaTrader
    2. Share off the NinjaTrader8 folder in the users directory so the PC with Visual Studio can access it.
    3. From within Visual Studio, use Attach To Process, and find the NinjaTrader instance on the remote machine.
    4. Bring up the Modules window, and do a search for the TMP. This will show you a DLL that has something that looks like a GUID for a name. Right click and load symbols.a
    5. Right click on this module
    6. Select Load Symbols
    7. Browse to the shared network folder and find the TMP location.
    There may be simpler methods to get this to work, but the key is that the TMP folder is what hosts the ..PDB for the compiled .DLL containing the scripts to be debugged.

Latest Posts

Collapse

Topics Statistics Last Post
Started by TraderJA, Today, 12:06 AM
0 responses
3 views
0 likes
Last Post TraderJA  
Started by SnailHorn, Yesterday, 10:49 PM
0 responses
7 views
0 likes
Last Post SnailHorn  
Started by naanku, Yesterday, 07:25 PM
0 responses
8 views
0 likes
Last Post naanku
by naanku
 
Started by milfocs, Yesterday, 07:23 PM
0 responses
6 views
0 likes
Last Post milfocs
by milfocs
 
Started by PaulMohn, Yesterday, 06:59 PM
0 responses
8 views
0 likes
Last Post PaulMohn  
Working...
X