When I had problems at the beginning use the “everything search” application, and delete all the XOD folders, and then “TrashReg Freeware” to delete registry keys, it could work for you too
That’s weird. When you cleaned up the installation, have you removed C:\Users\You\xod as well? If not, try to delete just C:\Users\You\xod\__packages__ and try again. Also, hit File → Switch Workspace and make sure it points to C:\Users\You\xod.
If nothing helps, could you run XOD IDE from cmd.exe so that we can see stdout of the process crashed? It can contain important details.
I tried all solutions in your first paragraph, but no better…
The program loads ok, I can select the tutorial sketch, but when trying to upload… CRASH…
It takes a few seconds to crash … as it tries to load the board list and it feels like it is running out of memory…
That’s really weird, so I propose to try two things:
That @nkrkv already asked, to run XOD IDE from cmd.exe:
1.1. Press Win+R, type “cmd”, press Enter
1.2. Then type in quotes: "C:\Program Files\XOD IDE\XOD IDE.exe", press enter
1.3. Reproduce the bug. Probably you get an error in the terminal window. So then copy-paste it here and we’ll inspect the error.
Probably you get caught a bug in arduino-cli that was fixed after out latest release. So you can try to update it manually:
2.1. Download latest version of arduino-cli from here: https://downloads.arduino.cc/arduino-cli/arduino-cli-latest-windows.zip
2.2. Unpack it and rename exe file in arduino-cli.exe
2.3. Make a backup of already installed arduino-cli, just rename it: C:\Program Files\XOD IDE\resources\arduino-cli.exe
2.3. Copy new one into the same folder (C:\Program Files\XOD IDE\resources\)
2.4. Try to reproduce the bug
C:\Users\maxim>
[14:53:57.826] [info] Checking for update
[14:54:00.885] [info] Update for version 0.25.3 is not available (latest version: 0.25.3, downgrade is disallowed).
that is it !!
nothing is coming in the cmd window when the program crashes.
I did after second part and updated arduino-cli and still yields same crashing result:
-Opening normally
or
-Opening through cmd
Yes…
It probably one of the 2 things : when it builds the list of board or when it is enumarating the ports…
After few seconds (15-20) it crashes just like it is running out of memory.
I tried to increase also the size of virtual memory to 4500 min with a max of 9500 to see if this would help, but still it crashes…