-->
Page 1 of 2

esp-gdb stub debugging with Arduino libs

PostPosted: Thu Aug 25, 2016 6:20 am
by phenoboy
Would be nice to get debugging working with Arduino libs too.

How much effort would be to integrate this esp-gdbstub into Arduino IDE created binary ?

https://github.com/espressif/esp-gdbstub

Re: esp-gdb stub debugging with Arduino libs

PostPosted: Sun Oct 02, 2016 11:41 am
by electronicsguy
I'd like to know this too. Did you get any more leads?

Re: esp-gdb stub debugging with Arduino libs

PostPosted: Sun Oct 02, 2016 11:52 am
by martinayotte
IGRR did it few months ago :

https://github.com/esp8266/Arduino/tree ... es/GDBStub

(Although I've never tried it ...)

Re: esp-gdb stub debugging with Arduino libs

PostPosted: Mon Oct 03, 2016 1:44 am
by phenoboy
I was thinking about something a bit advanced although break into gdb on assert and panic is already great! I'd like to have step-by-step debugging working like described in here:

https://blog.attachix.com/live-debuggin ... 66-part-4/