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 CarlTrading, 03-31-2026, 09:41 PM
              1 response
              67 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 04-01-2026, 02:41 AM
              0 responses
              36 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              60 views
              1 like
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              62 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              53 views
              0 likes
              Last Post CarlTrading  
              Working...
              X