Skip to content

[question] How to open gdb on windows for ESP32 target? #173

@wilberforce

Description

@wilberforce

Hi - I've taken the Webthings sample and got it working without a display on the ESP32. I added a led, and using the built in switch and got it working with Moz IOT gateway. This stuff is very cool - thanks for writing the library.

I have set it up so it toggles on the physical button as well as from the gateway.

However in the ming32 window I get a dump after a while:

Compressed 812240 bytes to 500249...
Wrote 812240 bytes (500249 compressed) at 0x00010000 in 9.4 seconds (effective 6      90.3 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 120...
Wrote 3072 bytes (120 compressed) at 0x00008000 in 0.0 seconds (effective 1365.3       kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Launching app...

Type Ctrl-C after debugging app to close this window
Backtrace: 0x4008b1dc:0x3ffbd280 0x4008b377:0x3ffbd2a0 0x4008abcd:0x3ffbd2c0 0x4      00822de:0x3ffbd2e0 0x40082979:0x3ffbd300 0x4000bec7:0x3ffbd320 0x400f71a4:0x3ffb      d340 0x400f6162:0x3ffbd360 0x400f6938:0x3ffbd380 0x400d301b:0x3ffbd3a0 0x400d1fa      1:0x3ffbd3d0

How can a launch so that a gdb session can debug where the crash is occuring?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions