ESP8266 Developer Zone The Official ESP8266 Forum 2017-08-08T21:20:41+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1630 2017-08-08T21:20:41+08:00 2017-08-08T21:20:41+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1630&p=15044#p15044 <![CDATA[Re: esp-gdbstub: cannot view local variables]]>
i've also tried using gdbstub to debugg my esp8266.
i'm able to stop the execution as soon as i start the session using gdb tool*(esp-idf provided gdb tool i'm using. i.e. xtensa-esp32-elf-gdb).
but then i'm facing an issue which could be seen in attached image.

gdbstub_timeout_issue.JPG


exact same issue i've found, on esp32 forum, which was getting produced while stepping into debugging session using openOCD - JTAG method.
that thread is here :
https://www.esp32.com/viewtopic.php?f=2 ... 2de8915fff

how could i overcome this issue? please provide your valuable suggestions and shade some light on this.

thanks.

Statistics: Posted by rajkumar patel — Tue Aug 08, 2017 9:20 pm


]]>
2016-01-21T17:26:00+08:00 2016-01-21T17:26:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1630&p=5475#p5475 <![CDATA[Re: esp-gdbstub: cannot view local variables]]> Statistics: Posted by ESP_Sprite — Thu Jan 21, 2016 5:26 pm


]]>
2016-01-15T13:36:08+08:00 2016-01-15T13:36:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1630&p=5387#p5387 <![CDATA[esp-gdbstub: cannot view local variables]]>
I have integrated esp-gdbstub into a project, and am able to do breakpoints, stepping, etc.

However, when I do a backtrace at a breapoint, all the function parameters are labelled with "error reading variable: can't compute CFA for this frame" and cannot be printed. Same effect is seen when trying to examine some (but not all) local variables.

What is the cause of this behavior and how do I work around it?

Statistics: Posted by esp03madness — Fri Jan 15, 2016 1:36 pm


]]>