Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to debug NinjaTrader strategies using visual studio code?

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

    Is it possible to debug NinjaTrader strategies using visual studio code?

    I know you can debug strategies using Visual Studio, but is it possible to debug using visual studio code? I manage to launch an attached debugger (attached to NinjaTrader), but the breakpoints are not recognized. Hovering over a breakpoint shows: "No symbols have been loaded for this document.".

    Here is my launch.json file:

    {
    "version": "0.2.0",
    "configurations": [
    {
    "name": ".NET Core Attach",
    "type": "coreclr",
    "request": "attach"
    }
    ]
    }​​

    #2
    Why would you want to do that? Visual Studio community edition is free and is much more sophisticated. VS Code is mainly for websites and is mostly just an editor. Its debugging capability is limited. Also, NinjaTrader is not .NET Core. It's .NET Framework 4.8.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, Yesterday, 09:41 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    31 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    30 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    34 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    19 views
    0 likes
    Last Post CaptainJack  
    Working...
    X