pyOCD icon indicating copy to clipboard operation
pyOCD copied to clipboard

emit an error log when setting a breakpoint fails in gdbserver

Open koalatux opened this issue 1 year ago • 1 comments

I found having an error logged in pyOCD useful, when the IDE silently ignored the error reported by gdbserver.

koalatux avatar Jan 13 '25 10:01 koalatux

Hi, thank you for your contribution. I think it would be better to add that in the breakpoint manager instead (where other set_breakpoint are reported).

As far as I can see this would be in:

  • pyocd/coresight/fpb.py
  • pyocd/debug/breakpoints/manager.py
  • pyocd/debug/breakpoints/software.py

ithinuel avatar Feb 19 '25 17:02 ithinuel