Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Timed Out Settings?

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

    Strategy Timed Out Settings?

    I use Visual Studio to debug my Strategy, and after I have attached to NinjaTrader.exe, the link to Ninja drops when I step-through my code. I would guess there is some kind of time-out test in the Control Center that I need to set to a higher number. Do anyone have suggestions to allow me to step through my script and stay attached to the executable?

    Thanks,

    jhill

    #2
    Hello,

    Thanks for the forum post.

    Can you describe further what happens and what you mean by time out test so that I may attempt to assist. This normally falls outside of the bound of our support since this is an external application but may be possible I can point you in the right direction. I know when I try a debug in VS I do not get any sort of timeout.



    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks Brett for taking your time and trying to help me with this issue.

      I hope that this description will help.
      After opening my Strategy in VS, I Attach to NinjaTrader.exe and set my Breakpoint in the script. When I finally get the hit on my Breakpoint, I press F10 to walk through the script. After hitting several F10’s, the “NinjaTrader.exe” goes red in the VS Locals window, the Attachment is broken and Ninja Trader completely closes down, as if I had exited NT.

      Comment


        #4
        I hope that this description will help.
        After opening my Strategy in VS, I Attach to NinjaTrader.exe and set my Breakpoint in the script. When I finally get the hit on my Breakpoint, I press F10 to walk through the script. After hitting several F10’s, the “NinjaTrader.exe” goes red in the VS Locals window, the Attachment is broken and Ninja Trader completely closes down, as if I had exited NT.

        Comment


          #5
          jhill, can you try resetting your VS environment and recheck?

          From the run command, run the following command:

          devenv /resetsettings

          This would reset the IDE back to first time use

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          673 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          379 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          111 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          578 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          582 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X