I often combine programs and then have at least 2 open. If I then compile and then often look at the other one, everything is stuck and I have to close (hard).
Hi @digiton1. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
Start Windows "File Explorer".
Open the Arduino IDE installation folder.
(usually C:\Program Files\Arduino IDE or C:\Users\<username>\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".
Windows 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 Arduino IDE starts.
Wait for Arduino IDE to finish starting.
Perform whatever actions are required to "crash" Arduino IDE.
Switch back to the PowerShell window.
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.
I'm going to ask you to post some additional information that might help us to identify the problem.
NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.
Please do this:
Select File > Preferences from the Arduino IDE menus.
Check the box next to "Show verbose output during: ☐ compilation".
Click the OK button.
Select Sketch > Verify/Compile from the Arduino IDE menus.
Wait for the compilation to fail.
You will see a "Compilation error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
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 compilation output into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the Reply button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
Apart from the fact that the new version 2.04 often crashes, I often get a "Compilation error: exit status 1" error when uploading. programs that have previously worked perfectly give without any changes. In half of the cases everything works again when I empty the TEMP folder, but not always. Sometimes after restarting the PC, more in half of the cases I keep getting an error.
How can I fix the "Compilation error: exit status 1" so that my programs work again.
The annoying thing is that this is not constant so I can't figure out exactly where the problem is. With the previous versions I never had this problem and with my PC has not changed. As soon as I get the notifications again, I will try to forward them.
A new problem has come with this version. After trying to make some code's crashed IDE and I constantly get an A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header. The only solution is to delete IDE and re-mute. Reinstall IDE and restore folder
Gets a bit simple from this latest version. Every few days I can reinstall everything. Constant error:
A fatal esptool.py error occurred: Write timeout