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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    71 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    56 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X