Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Random Errors In Script Editor

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

    Random Errors In Script Editor

    I notice that I get random (incorrect) errors when editing my code in the script editor until I close and restart it. Very buggy.

    #2
    Do you perhaps have an example of code that does this or could you post some screen shots?
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Adam, it happens in many cases where I've deleted or commented out code and it confuses the debugger.

      To reproduce:

      Create some code, create a variable that doesn't exist, make edits, comment out a section of code (multiline comment), make more edits

      Eventually: The script editor becomes confuses and starts to report erroneous errors. Some relating to code fragments that no longer exist. Close script editor and re-open script. Errors are reported properly.

      Comment


        #4
        Unfortunately I am not able to replicate this currently. If you have an example of something I can use it would be helpful.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Adam, I can assure you that this happens. Unfortunately, I don't have a specific series of steps for you to reproduce. My advise... create some code with errors, missing { or []... wrong variable name.. correct... use multiline and single line comments... continue to edit/save/etc eventually editor loses its mind.

          Comment


            #6
            Originally posted by light65536 View Post
            Adam, I can assure you that this happens. Unfortunately, I don't have a specific series of steps for you to reproduce. My advise... create some code with errors, missing { or []... wrong variable name.. correct... use multiline and single line comments... continue to edit/save/etc eventually editor loses its mind.
            Might your problem have something to do with this?

            Comment


              #7
              Originally posted by Radical View Post
              Might your problem have something to do with this?

              http://www.ninjatrader.com/support/f...d.php?p=300852
              When typing in new code or commenting out stuff (removing a brace/bracket - here or there), the auto compiling does kick off and complains about "stuff".

              Maybe that is what he is seeing?

              Comment


                #8
                Originally posted by sledge View Post
                When typing in new code or commenting out stuff (removing a brace/bracket - here or there), the auto compiling does kick off and complains about "stuff".

                Maybe that is what he is seeing?
                I agree, that's probably more likely.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                649 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                370 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                109 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                574 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                576 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X