Hi everyone, I’m currently debugging a NuttX-based project on an STM32F303CB platform with support for I2C, ADC, timers, USART, along with the MS8607 sensor driver enabled. I am encountering an issue where the hardware breakpoint triggers a SIGTRAP signal every time it hits the context switch or a semaphore wait. This leads to frequent and unintended halts in the debugger, making it challenging to maintain a smooth debugging flow.
I’ve tried various approaches to suppress these hardware breakpoints, but haven’t found a reliable method. I’m wondering if anyone has encountered similar challenges and has any suggestions or best practices for handling this? Any insights on configuring GDB or alternative debugging techniques (like SWO, RTT, or external tools) would be greatly appreciated. Thanks in advance! Russ Burgett
