---
**[tickets:#472] nvs on esp32-s3 being cleared when I debug**
**Status:** new
**Milestone:** 0.12.0
**Created:** Mon Jun 29, 2026 03:00 PM UTC by Charlie Stricklin
**Last Updated:** Mon Jun 29, 2026 03:00 PM UTC
**Owner:** nobody
**Attachments:**
- [main.cpp](https://sourceforge.net/p/openocd/tickets/472/attachment/main.cpp)
(1.8 kB; application/octet-stream)
In platformio, when I debug a program that uses preferences, the nvm storage is
cleared before the program begins. I have written a small program that
illustrates the problem. I am including my project directory for that program.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.