Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Debbuging with Visual Studio 2003 Professional

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

    Debbuging with Visual Studio 2003 Professional

    Hi,
    When I attach to the ninjatrader.exe , I have the options to choose the type of program I want to debug:
    1) Common Language Runtime. This is for c# and managed code, but I always get an error VS cannot attached.
    2) Microsoft T-SQL. This type is recognized and I can attach using it.
    3) Native. This is for C and C++ , and it works attaching to NT. I can see the assembly code but I cannot put break points in the source code indicator once is loaded etc.
    4)Script. This is for .asp.

    So far I have suscessfull on attaching with T-SQL and Native. I can break into the program and see the assembly. When I open the cs of the indicator (which was build with the debug option), I cannot put any breakpoints and complains that no code is currently loaded at that location.
    I am using VS 2003 Pro.
    I see the tmp folder with the dll and pdb. And the .pdb with the debug info.
    So, What I am doing wrong that I cannot breakpoint in a indicator and debug it?
    Thanks
    PacPac

    #2
    Have you followed instructions here - http://www.ninjatrader-support.com/H...ualStudio.html
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi PacPac,

      Please try to use VS2005 pro instead, VS2003 is for .Net 1.1.

      Comment


        #4
        something like that happened to me yesterday. The problem is that I had 2 strategies ( which i wasnt even debbugging) which required a symbol which I had not downloaded yet. Go figure.... so i suggest that for all strategies you have, download their respective symbols you require on the script or delete the codes altogether.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Brevo, Today, 01:45 AM
        0 responses
        4 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        241 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X