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 kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        24 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        14 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        20 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        20 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        135 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X