Stability issues since updating to ESP_IDF 5.0.1
Posted: Fri Mar 31, 2023 9:27 pm
I have been having a very painful time with the Eclipse plugin ever since updating to ESP_IDF 5.0.1. The indexer misses things and I am left with a red error marker in the source code and now before it launches the program it pops up a warning saying there was an error and it asks me if I want to deploy anyway. Well, there wasn't really a compile or link error, there is just an error detected by the IDE because the indexer can't find the API. So I have to double check the build screen to confirm that there wasn't actually an error before I tell it to go ahead an ignore the "error" and proceed to deploy. And I don't want to tell it to never ask me again because at some point there may actually be a really build error that I want to address before deploying. Sometimes I am able to rebuild the index and it will fix the issue and other times not. With the previous version of the ESP_IDF 4.4.4, if the indexer would give me a hard time I would close the project, reopen it and then reindex it and that would usually fix the issue. However now if I attempt to close and reopen a project, 9 times out of 10 it will hang the IDE with "Refreshing workspace: (94%)" at the bottom and the only option is to kill the IDE.
I was thinking this was because I brought my projects over from 4.4.4 to 5.0.1 and/or I had something wrong with my installation so I just reviewed the installation instructions and installed a new version of Eclipse IDE for C/C++ 2022-09 and installed the Espressif plugin. I also confirmed the requirements and I have Amazon Corretto 17.0.6, Python 3.10.4, git 2.33.0.windows.1 and ESP_IDF 5.0.1. I created a new workspace and added 2 example projects to it, blink and hello_world. I compile them and they deploy and work. I then close them and open them a few times and it eventually hangs the IDE with the above error. Sometimes I have to close and open them a few times and other times it happens pretty quickly. Sometimes it will work 10 times in a row and then I will build the project and close and open it and it will hang. I can't provide an exact set of instructions to recreate this issue but it has caused me a world of pain. I have tried searching for anyone else reporting this kind of issue and I have not found anything.
I don't know where to report this, if it is an IDE plugin issue or an ESP_IDF issue. Anyone have any issues like this? Anything I can try to mitigate these issues?
I was thinking this was because I brought my projects over from 4.4.4 to 5.0.1 and/or I had something wrong with my installation so I just reviewed the installation instructions and installed a new version of Eclipse IDE for C/C++ 2022-09 and installed the Espressif plugin. I also confirmed the requirements and I have Amazon Corretto 17.0.6, Python 3.10.4, git 2.33.0.windows.1 and ESP_IDF 5.0.1. I created a new workspace and added 2 example projects to it, blink and hello_world. I compile them and they deploy and work. I then close them and open them a few times and it eventually hangs the IDE with the above error. Sometimes I have to close and open them a few times and other times it happens pretty quickly. Sometimes it will work 10 times in a row and then I will build the project and close and open it and it will hang. I can't provide an exact set of instructions to recreate this issue but it has caused me a world of pain. I have tried searching for anyone else reporting this kind of issue and I have not found anything.
I don't know where to report this, if it is an IDE plugin issue or an ESP_IDF issue. Anyone have any issues like this? Anything I can try to mitigate these issues?