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 ScottWalsh, Today, 06:52 PM
4 responses
32 views
0 likes
Last Post ScottWalsh  
Started by olisav57, Today, 07:39 PM
0 responses
4 views
0 likes
Last Post olisav57  
Started by trilliantrader, Today, 03:01 PM
2 responses
19 views
0 likes
Last Post helpwanted  
Started by cre8able, Today, 07:24 PM
0 responses
6 views
0 likes
Last Post cre8able  
Started by Haiasi, Today, 06:53 PM
1 response
5 views
0 likes
Last Post NinjaTrader_Manfred  
Working...
X