Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PDB file missing from Debug compiles?

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

    PDB file missing from Debug compiles?

    I can't seem to get a NinjaTrader.Custom.pdb file to be generated when using NT 7.0.0.23 when performing a compile with Debug mode enabled. Do others get a pdb file generated here when doing Debug compiles with NT7?

    %UserProfile%\NinjaTrader 7\bin\Custom\NinjaTrader.Custom.pdb

    I'm expecting this file to be here but only see the NinjaTrader.Custom.dll and NinjaTrader.Custom.xml but missing the NinjaTrader.Custom.pdb file I want this file so when I print out exceptions to a log file, I get line number info in the exceptions.

    JD

    #2
    This file will not exist. If you attach Visual Studio to NT (which is what the Debug Mode is for) and you ran into exceptions it should already bring you to the line in question.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      *Sigh*

      I understand about using VS to have it point to top line number of a stack trace. But it is useful to have the full stack trace with line numbers to be able to quickly go to the flow of lines that led up to the one that caused the exception. Maybe you can add this to your list of future to enhancements - a PDB file being generated upon Debug type compiles.

      Comment


        #4
        Thanks for the suggestion. It is on our feedback list.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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