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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        164 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        318 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        246 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X