Hi @jimbolo. I'm sorry Arduino IDE 2.0.0 did not work for you.
A similar bug is being tracked by the Arduino IDE developers here:
Unfortunately, none of us have been able to reproduce it reliably. I was able to at one time by following a very specific procedure, but now the IDE works correctly when I follow that procedure, so it seems to be dependent on very specific conditions. I do experience it occasionally, but maybe only 1% of the time. This makes it extremely difficult to investigate, prepare a possible fix, and validate that fix.
Since you didn't provide much information, I can't be sure whether you are experiencing the same problem. Since you are so disappointed, I assume you are experiencing the problem regularly.
I would be happy to work with you on investigating the problem and maybe finding a solution or workaround, but if you have already gone back to 1.8.19 I guess we won't be able to do that.
One question I had: When you say "the window is permanently blank". Is it completely empty, or is there a pulsing Arduino logo like when the IDE starts up?
Yes there are. The IDE automatically saves log files to a special location, but I generally find it is easiest to get them from the command line output. I'll provide instructions:
Start Windows "File Explorer".
Open the Arduino IDE installation folder.
(usually C:\Program Files\Arduino IDE or C:\Users\<user name>\AppData\Local\Programs\Arduino IDE).
In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
From the context menu, click "Open PowerShell window here".
PowerShell will now open with the current directory set to the Arduino IDE installation folder.
Type the following command:
& ".\Arduino IDE"
Press the Enter key.
Debug output should now be printed to the PowerShell window as the Arduino IDE starts (or fails to start).
Wait for the Arduino IDE to finish starting, or failing to start.
Switch back to the PowerShell window if the Arduino IDE window took the focus.
Right click on the title bar of the PowerShell window.
This will open a context menu.
Select Edit > Select All from the context menu.
This will select all the text in the PowerShell window.
Press Ctrl+C.
This will copy the contents of the PowerShell window to the clipboard.
Open a forum reply here by clicking the Reply button.
Click the </> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press Ctrl+V.
This will paste the output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the Reply button to post the output.
Please let me know if you have any questions or problems while following those instructions.
One question I had: When you say "the window is permanently blank". Is it completely empty, or is there a pulsing Arduino logo like when the IDE starts up?
I'm testing and after 7 or 8 times, I forced a error. A round logo is pulsing
This is the last error when I Save As... like m4 file name:
root INFO New sketch 'm4' was created in sketchbook 'file:///d%3A/Mis%20cosas/Mochila%20RNE/Arduino/Proyectos'.
[7652:1012/203312.385:ERROR:accelerator_util.cc(24)] The accelerator string can only contain ASCII characters
root INFO Sketch 'm4' was removed from sketchbook 'file:///d%3A/Mis%20cosas/Mochila%20RNE/Arduino/Proyectos'.
app-state-change >>> new app state <closing_window was received from sender <1>. current window ID: 1
root ERROR Uncaught Exception:
app-state-change <<< new app state is <closing_window> for window <1>
root ERROR Error: Connection got disposed.
at Object.dispose (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\main.js:904:25)
at D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-ws-jsonrpc\lib\socket\connection.js:14:41
at CallbackList.invoke (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\events.js:62:39)
at Emitter.fire (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\events.js:121:36)
at closeHandler (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\main.js:240:26)
at CallbackList.invoke (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\events.js:62:39)
at Emitter.fire (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\events.js:121:36)
at WebSocketMessageReader.fireClose (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-jsonrpc\lib\messageReader.js:111:27)
at WebSocketMessageReader.fireClose (D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:67:19)
at D:\Programas\Oficina\ArduinoIDE2\Arduino IDE\resources\app\node_modules\vscode-ws-jsonrpc\lib\socket\reader.js:24:18
root INFO Waiting for the deploy of the language plugins took: 0.0195000022649765 ms.
root WARN Frontend s.configure took longer than the expected maximum 100 milliseconds: 128.6 ms [Finished 2.327 s after frontend start]
AFTER CLOSE IDE WITH X UP CORNER RIGHT:
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: bundle.js:2:1416621
isTempSketch: false. Input was d:\Mis cosas\Mochila RNE\Arduino\Proyectos\Domotica\HA_Hall\m4
Marking workspace as a closed sketch. Workspace URI: file:///d%3A/Mis%20cosas/Mochila%20RNE/Arduino/Proyectos/Domotica/HA_Hall/m4. Date: 1665599674608.
Storing the sketch as a workspace root: <d:\Mis cosas\Mochila RNE\Arduino\Proyectos\Domotica\HA_Hall\m4>.
Stored workspaces roots: d:\Mis cosas\Mochila RNE\Arduino\Proyectos\Domotica\HA_Hall\m4