It doesn't happen all the time, but more or less once a day. I open the global search panel, start typing a search term and after the first character the IDE hangs. I can't even close it properly anymore. I need the task manager to kill the IDE.
If I wait long enough, the IDE seems to return, but the search function is just running is some kind of loop (the progress bar keeps going endlessly from left to right) w/o producing results.
I can close the search panel and seemingly use the editor again, but I still can't close the IDE using the 'x' button.
A few lines of my last edits before the search attempt are lost.
Environment: WIN 10 PC with 8 GB RAM. Chrome browser open in the background. Notepad++ editor open in the background.
Edit: when I restart the IDE I see a notification that updates are available for some of the libraries. Not sure if this is related to the problem, but I thought I should mention this, just in case...
Hi @gilbert54. The Arduino IDE developers are tracking this bug here:
I'm not able to reproduce the IDE hang under any conditions, but I have been able to reproduce the less impactful problem of searches for a single letter never completing, with the behavior you describe here:
I was only able to reproduce that fault when using a very large sketch. Do you find that the problems only occur when you have certain sketches open in the Arduino IDE window, or does it occur with any sketch?
I am refactoring an old sketch to make adjustments for changes in hardware and in the ArduinoJSON library. Will keep me busy for a while...
It is indeed a very large sketch, using 22 files (.h and .ino files). Note that about half the code memory is consumed by ESP IDF and ESP Bluetooth libraries.
PS: contrary to what is described by dagnall53, I'm unable to add more letters to the search term. After the first letter, the search starts and the IDE becomes unresponsive.