Extra files being added to sketch folder

I have noticed over the last few days that, when i compile a sketch, i get three extra files added to the folder
debug.cfg
debug_custom.json
esp32.svd

it has only just started.

When you refresh the screen, they should vanish.

These are visible in windows file explorer. They stay there, even after Arduino IDE has been closed

Same thing happens in Linux, but refreshing the window shows they were temporary.

Hi @max44. The reason you are seeing these files now and not before is because you updated to the latest version of the ESP32 boards platform. This new feature was added in the latest 2.0.6 release of the platform:

I haven't found the time to try debugging out on the ESP32 (I do have quite a bit of using it with the "Arduino SAMD Boards" platform), so I'm not sure why they configured the platform to add these files to the sketch, but I'm sure there is a good reason they did that.

In addition to the ESP32-specific information at the link I shared above, there is some additional information about the Arduino IDE 2.x integrated sketch debugger here:

1 Like

Thank you. Must have updates. Was using Arduino V2 but it was buggy, so i moved back to old version and did an update.
I will read the link you shared. Thanks again.

it is a recent bug in espressif. Error #7647
They are investigating it.
Thanks again

Thanks for sharing that information. I'll follow the issue to learn more about the subject matter.

In order to make the relevant information more accessible to all interested parties, I'll share a direct link to the issue here:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.