Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

A simple development, that helps us to save HOURS

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

    A simple development, that helps us to save HOURS

    in other platforms, like MetaTrader,
    when you attach an indi to chart, and there happens some error during execution (not to mention an error while COMPILING, but during execution of script on chart),
    the LOG window SHOWS THE LINE NUMBER, where the problem happens.




    however, Ninjatrader only shows method name, i.e.

    ...OnBarUpdate... index out of bounds or array or etc....

    no hint on which line or which variable it happened, and huge headache...
    I have programmed many thing in other programming languages (like php, js and etc..),
    and have always achieved to create a log-function, that shows THE PROBLEM LINE and VARIABLE NAME TOO!

    what is so hard in C#, for NT developers, to spend a half an hour to make a solution to show that too in NT.

    at this moment we have to spend HOURS to find the problems within "OnBarUpdate", by utilizing bunch of Print and custom brainstorming.. so, solution will be great.
    Last edited by ttodua; 09-18-2017, 12:31 AM.

    #2
    Hello selnomeria,

    Are you referring to a feature request you have already submitted?

    Are you wanting our development to provide a statement of why this particular feature request has not been implemented at this time?

    Or are you wanting to submit a feature request?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello selnomeria,

      Are you referring to a feature request you have already submitted?

      Are you wanting our development to provide a statement of why this particular feature request has not been implemented at this time?

      Or are you wanting to submit a feature request?
      Hi ChelseaB,

      Regardless of what he is asking for, this would be a great help for the trace or log reports (or even a print on the chart) to identify which line of the code (and which variable) caused the error.

      This would be a great and helpful feature request for all. Vote me in.

      Thanks.

      Comment


        #4
        I wish to submit a feature request, and if Dev Tem declines, let us know, why? ?

        Comment


          #5
          Hello aligator and TazoTodua,

          I have received a tracking ID for your request.

          Your request for the line number where a NinjaScript runtime error has occurred to be included in the Log is being tracked with ID# SFT-2703.

          Please note it is up to the NinjaTrader Development to decide if and when a request will be implemented.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Good suggestion, although I doubt very much its a 1/2 hour solution. How to you know the line number from the source in a piece of compiled code ? if its script running in an interpreter its easy, but Ninja is running compiled code.

            Comment


              #7
              Originally posted by NinjaTrader_ChelseaB View Post
              Hello aligator and TazoTodua,

              I have received a tracking ID for your request.

              Your request for the line number where a NinjaScript runtime error has occurred to be included in the Log is being tracked with ID# SFT-2703.

              Please note it is up to the NinjaTrader Development to decide if and when a request will be implemented.
              Thanks ChelseaB,

              In addition to the line number hopefully the name of the culprit indicator is also included, considering that most charts have several indicators plotted.

              Thanks.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by kevinenergy, 02-17-2023, 12:42 PM
              115 responses
              2,699 views
              1 like
              Last Post kevinenergy  
              Started by prdecast, Today, 06:07 AM
              1 response
              4 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by Christopher_R, Today, 12:29 AM
              1 response
              14 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by chartchart, 05-19-2021, 04:14 PM
              3 responses
              577 views
              1 like
              Last Post NinjaTrader_Gaby  
              Started by bsbisme, Yesterday, 02:08 PM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Working...
              X