Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Debugging in VS 2008 Pro

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

    Debugging in VS 2008 Pro

    I can't seem to figure out how to debug a "strategy" in Visual Studio 2008 professional. I know how to debug a indicator but not a strategy. Can some please point to in the right direction?

    #2
    Not sure I follow, the same process would be used as described here - http://www.ninjatrader-support.com/H...ualStudio.html

    What exact issues do you see when attempting to debug a NinjaScript strategy?

    Comment


      #3
      where exactly are the source files located at?

      Comment


        #4
        The strategy cs files are here - MyDocuments\NinjaTrader 6.5\bin\Custom\Strategy

        Comment


          #5
          Here's exactly what I'm doing:
          1. enable debug mode on source file within NinjaTrader
          2. open VS 2008 pro, Tools, Attach to Process, NinjaTrader.exe
          3. VS 2008 displays a message in IDE (Disassembly cannot be displayed in run mode.)

          Comment


            #6
            Hmm, are you trying to run a compiled assembly with locked source code?

            Comment


              #7
              Yes I was...I wasn't paying attention! Everything is cool now.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by charlesugo_1, 05-26-2026, 05:03 PM
              0 responses
              60 views
              0 likes
              Last Post charlesugo_1  
              Started by DannyP96, 05-18-2026, 02:38 PM
              1 response
              147 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              162 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 05-10-2026, 08:12 PM
              0 responses
              97 views
              0 likes
              Last Post CarlTrading  
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              284 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Working...
              X