Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Market Replay Debugging

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

    Market Replay Debugging

    I'm using Vs Express 2012 for debugging my strategy. Everything works OK, when I'm debugging strategy analyzer for historical testing. However when I'm trying to debug the same strategy, in the same debugging session, the same source file with the same breakpoints set, I see resulting orders on my chart, both entry and exit, the results are OK, however I cannot step into my breakpoints, when connected to Market Replay. Of course I compiled in debug mode.

    Is Ninja disabling VS debugging mechanism for Market Replay and Real Time data? It might be reasonable, because the program, stepping into VS breakpoint during real time session, would be a disaster.

    Please answer.

    #2
    Hello,

    Thank you for the question.

    This should work platform wide as long as the debug has been enabled and NinjaTrader has been re compiled.

    I am unsure if this process needs to happen again once you change connection.

    It is possible that if the replay speed was going too fast it could be skipping the break points.

    As for the live data, are you sure the breakpoint is being reached? Rather than a breakpoint you could try a Debug.WriteLine() with something you will see and see if the line is written to the output window. This will at least tell you if its even getting called at all.

    There is one forum post related to this located here: http://www.ninjatrader.com/support/f...1&postcount=14

    You may look over the post and see if this resolves what is happening as well.

    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 10-01-2014, 10:39 AM.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Petrv333, Today, 02:03 PM
    1 response
    7 views
    0 likes
    Last Post NInjaTrader_MaxH  
    Started by stafe, Today, 12:34 PM
    2 responses
    23 views
    0 likes
    Last Post stafe
    by stafe
     
    Started by asmmbillah, Today, 11:18 AM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by nickse2003, Today, 09:56 AM
    1 response
    29 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by ATMtrader0001, Today, 10:08 AM
    5 responses
    39 views
    0 likes
    Last Post ATMtrader0001  
    Working...
    X