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 andrewtrades, Today, 04:57 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        6 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        9 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        20 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X