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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
61 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
98 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment