platform-espressif8266 icon indicating copy to clipboard operation
platform-espressif8266 copied to clipboard

Add Debugging via GDB stub

Open universam1 opened this issue 8 years ago • 6 comments

Debugging via GDB stub is available: https://github.com/esp8266/Arduino/tree/master/libraries/GDBStub

Would be a killer feature for PlatformIO!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

universam1 avatar Jul 19 '17 11:07 universam1

We tested that and it does not work properly :(

Does it work for you?

ivankravets avatar Jul 19 '17 11:07 ivankravets

Here is a good introduction: http://hackaday.com/2015/12/12/squash-your-esp-8266-bugs-with-esp-gdbstub/

Actually I was hoping of PIO, guess they should be able to get some support by Espressif likely

universam1 avatar Jul 20 '17 18:07 universam1

Any thing new about this issue?

minkir014 avatar Jun 05 '19 12:06 minkir014

Any news? I could try it this evening probably

augustozanellato avatar Sep 01 '19 12:09 augustozanellato

For reference: https://github.com/sysprogs/esp8266-openocd promises to be a fully-featured OpenOCD version for the ESP8266, so JTAG debugging should be possible with it, next to the here-mentioned GDBstub over UART.

maxgerhardt avatar Oct 26 '21 21:10 maxgerhardt