Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Random Errors In Script Editor
Collapse
X
-
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.Tags: None
-
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
-
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
-
Might your problem have something to do with this?Originally posted by light65536 View PostAdam, 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
-
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".Originally posted by Radical View PostMight your problem have something to do with this?
http://www.ninjatrader.com/support/f...d.php?p=300852
Maybe that is what he is seeing?
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
650 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
577 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment