Hardware watchpoints are reset every task switch?
Posted: Mon Feb 16, 2026 11:07 am
Hello everyone!
Tried to use a HW watchpoint on ESP32S3. It works until scheduler switch tasks - then one of watchpoints is reset by a stack canary checker. I tried to search sources to find where the second watchpoint is used but was not able to find it. However in my test code both watchpoints (0 and 1) are reset every task switch.
Does anybody know how hardware watchpoints 0 and 1 are used by ESP-IDF?
Tried to use a HW watchpoint on ESP32S3. It works until scheduler switch tasks - then one of watchpoints is reset by a stack canary checker. I tried to search sources to find where the second watchpoint is used but was not able to find it. However in my test code both watchpoints (0 and 1) are reset every task switch.
Does anybody know how hardware watchpoints 0 and 1 are used by ESP-IDF?