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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    66 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    141 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    76 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    47 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    51 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X