Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Visual Studio Debugger - Variables don't have values

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

    Visual Studio Debugger - Variables don't have values

    Hello,

    I am trying to debug my NT strategy with Visual Studio 2005. I am able to set breakpoints that work correctly but when I try to watch a variable it says, "unable to evaluate the expression." I am not sure what to do to get my variables to update properly during the debug run.

    Thanks,

    Christian

    #2
    cdiben,

    Could you describe this error in more detail, or show us a screen shot here?
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      In the attachment is a screen shot of the issue. It is Visual Studio with the variables in the watch window.
      Attached Files

      Comment


        #4
        cdiben,

        Did you follow the setup instructions here? : http://www.ninjatrader.com/support/h..._debugging.htm
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Yes. The only issue that I had with the instructions was that I had to open my strategy file in Visual Studio prior to attaching the process. The debug menu was not available until I opened the file.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          152 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          89 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          131 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          127 views
          1 like
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          107 views
          0 likes
          Last Post CarlTrading  
          Working...
          X