Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Methodology to debug Assertion failures

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

    Methodology to debug Assertion failures


    Folks, can you provide guidance on a methodology to debug assertion failures?

    This isn't uncommon: I have a strategy I can load up and run 99 different ways, on different charts and parameters. However, on the 100th time, I get an assertion failure. Furthermore, sometime it seems to be state dependent. If I wait for a few hours, sometimes the error no longer appears and the strategy successfully runs.

    Is the only way to fix this, is to create a debug version and then litter it with Print comments, to find the source of the error? Is there a better way?

    Thanks,

    Attached Files

    #2
    Hello timmbbo,

    Thanks for your notes.

    So we may look into the error further, please write in to support[at]ninjatrader[dot]com with a brief description of your question and follow the steps below to attach your log and trace files to your email.

    Follow the steps below to manually attach your log and trace files to your response.
    • Open your NinjaTrader folder under, "Documents" (sometimes called, "My Documents")
    • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to this email.
    • Once complete, you can delete these compressed folders.
    ​We look forward to assisting further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X