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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
67 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
36 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
60 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment