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 cre8able, 02-11-2023, 05:43 PM
        3 responses
        234 views
        0 likes
        Last Post rhubear
        by rhubear
         
        Started by frslvr, 04-11-2024, 07:26 AM
        8 responses
        111 views
        1 like
        Last Post NinjaTrader_BrandonH  
        Started by stafe, 04-15-2024, 08:34 PM
        10 responses
        44 views
        0 likes
        Last Post stafe
        by stafe
         
        Started by rocketman7, Today, 09:41 AM
        3 responses
        11 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by traderqz, Today, 09:44 AM
        2 responses
        10 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X