Here is a bug I've run across twice.. don't know if it is specific to my workspace, files or whatever. Please don't ask me to replicate because it will crash my workspace when I force close ninjatrader and I don't like to do that because every time you crash a ninjatrader workspace you are playing with fire (might corrupt something, it has happened before - but not related to this situation).
But I will give you enough details here to determine if you can replicate it yourself.
NT8 Version: 8.0.17.2 64-bit
To replicate:
1. edit strategy
2. compile ninjascript
3. make sure the compilation IS NOT finished.. that the icon is still moving and no sound has been heard yet
4. Right click a strategy in the strategy tab (for me it is the same strategy I edited and was compiling)
5. choose edit strategy
6. workspace is still BUSY (meaning that the workspace is not crashed but not accessible either.. if you click the control center you get a ding.. but charts are still updating.. ) it is where you get a dialog to change the settings of a strategy.. only The dialog never appears.. AND .. the compiling icon still continues endlessly with no compilation sound heard.
so that is the bug.. doing this makes an endless compile and the workspace is no longer accessible.. i cannot find any dialog on screen that i can close to get the workspace back.
this has happened to me twice, the 2 and only times I have ever tried to edit a strategy settings during a compile.
also debug mode was enabled, don't know if it was enabled the previous time as well.. but i was not attached or trying to debug it.
But if you think it is something specific to my strategy that I might be doing in OnStateChange(), please let me know.. I don't think I'm doing anything suspicious there - just from previous threads on the forums I realize that that might be a possibility for this kind of problem. Or if you think there is some magically hidden dialog box, please tell me what to look for - like maybe the title of a window or other identifying text that I can search for with software that lists all the windows running in the OS because I can't see any dialog window myself.. but since it has the modal dialog ding when i try to click on the control center, I realized that it might be a possibility and it might be hidden or somewhere offscreen.
Comment