Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Attaching Notepad++ to NinjaTrader

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

    Attaching Notepad++ to NinjaTrader

    Hello,

    For some reason I'm having extreme difficulty with this - attaching Notepad++ to Ninjatrader in order to debug code.
    • I've set NT to debug mode within a strategy that I've edited;
    • Using CS-script for Notepad++, I've attached Ninjatrader.exe as the external process;
    • When subsequently running a backtest using Strategy Analyzer, none of the code breaks as I've instructed in Notepad++.


    Do any of the devs here have experience debugging Ninjatrader scripts with Notepad++ and can help me out?

    Thanks in advance!

    #2
    Hello,

    Thank you for the post.

    I tried installing the mentioned plugin but It seems to only throw exceptions for me in notepad++ before I can even select a process to attach to.

    I have not used notepad++ for debugging myself before, but in general the steps in the correct order for debugging would be:

    Enable Debug mode.
    Compile to generate the pdb.
    Attach the debugger
    Apply and enable the strategy.

    If you are doing the attach in a different order it may effect the break points, or at least can in visual studio.

    If you are not opposed to using visual studio I would suggest using the free community edition as many users on the forum use visual studio and you will find much more information regarding debugging with visual studio.

    If any other users have had success in using the mentioned plugin with notepad++ for attaching and debugging, I would hope they can post their knowledge on the subject as well.


    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X