-->
Page 1 of 1

remote debugging tutorial ?

PostPosted: Wed Dec 16, 2015 11:28 am
by dannybackx
Hey,

I read that gdb-remote is supported with the 2.0.0 version of esp8266-arduino.

Do we have a small tutorial for this ?

Questions I ask myself :
- I have a NodeMCU dev board, and use the USB connection to see debug output via Serial.print.
Supposedly that connection is needed for the gdb communication so I probably need to remove
those Serial.print statements. Other things I should do ?
- Is this gdb-remote like on other platforms ? Can you inspect variables, single step, ... ?
- I use the Arduino IDE. When the "Serial monitor" is active, the gdb command to connect to
a remote session fails. Stopping the serial monitor does make it possible to attach, but
what should I do first ? Attach with gdb and then upload a sketch ? The other way around ?

Thanks,

Danny

Re: remote debugging tutorial ?

PostPosted: Mon Feb 01, 2016 7:17 am
by McChubby007
I did a post about gdb here : viewtopic.php?f=8&t=7889&e=0