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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X