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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    168 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    322 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    247 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X