ESP32 Technical Tutorials: Attaching GDB for debugging

preview_player
Показать описание
When we are building an ESP32 application, things can go wrong and we need a technique for debugging. In this technical tutorial we illustrate using "gdb" to connect to a running ESP32 and take a look at what is going on.
Рекомендации по теме
Комментарии
Автор

Amazing content! Please continue the technical series :D

OzzyBearMusic
Автор

Many thanks!
A little while ago after I'd been stuck on a bug for a couple of days I tried using gdb (using PlatformIO on VSCode on Ubuntu) and concluded it wasn't possible... A few days ago I ordered a JTAG adapter. Only now I see this!
Good to know though, if I'm using a different board, without JTAG, debugging might still be possible.

djayers
Автор

It is good here is no Arduino with ESP32! )
Thanks for the video about ESP32 with Eclipse on Linux!

USAIsrUKEUVngrdBLRckOccupiedUA
Автор

A lot has changed since this video was released.

As previously stated in the comments, the option to change the panic handler behavior has been moved to 'Component config/ESP32-specific'

Also, if you are using the ESP-IDF Monitor utility and have enabled the panic handler to invoke the GDBStub, then the Monitor program automatically detects the crash, launches GDB, and display the backtrace. All you have to do is sit back and watch.

jimgaluska
Автор

where can I download and install the xtensa-gdb?

zanidd
Автор

Can I use Eclipse to debug a program with no a JTAG adapter?

jonathangonzaga
Автор

have you used openocd with eclipse and live debugging? step by step?

boonkerz
Автор

How does this work from a Windows System is that in your book I bought

ATS
Автор

i no longer see the "Panic Handler Behavior" in make menuconfig is there a way to enable it again or has Espressif dropped it totallly?

mickeypoppi
Автор

do we need a JTAG hardware for ESP32 debugging

awaisahmed
Автор

Any plans for make a video debugging esp32 using JTAG?

THX

AbuSousPR
Автор

Hello, very nice video! I have a question. Has a ESP32 the DMA for GPIO? I need generate signal on GPIO from buffer and toggle DMA via timer.

ZAVAVOV
Автор

November 2019: The configuration of Panic handler behavior has moved to "Component config" -> "ESP32-specific" -> "Panic handler behaviour"

adanvasco
Автор

So it doesn't require JTAG? What is JTAG for then? I thought it's required to get gdb working o_0

grisevg
join shbcf.ru