ESP32 5.2.0/7.10/r5

Sysprogs forums Forums VisualGDB ESP32 5.2.0/7.10/r5

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12639
    jsmith
    Participant

    I’m trying to compile and debug project based on external ESP-IDF (like decribed there https://visualgdb.com/tutorials/esp32/esp-idf/, with one addition – project is based on ESP-IDF-3.0 ‘current’ ([toolchain]/etc/profile was modified to point to my copy of ESP-IDF).

    Flashing and debugging via JTAG (FTDI2232H-based board) works but is unstable sometimes. Latest issue – if ESP32 halts (due to some stupid bug in my case) then I’m unable to stop debugging (Shift+F5) – VS 2015 crashes. It is very annoying – takes a lot of time for VS to restart.

    #12641
    support
    Keymaster

    Hi,

    ESP32 is generally much less reliable than ARM-based devices, especially if using pre-release version of the IDF, so strange bugs are to be expected and unless you are OK with resolving them, we would recommend staying with a stable ESP-IDF release until v3.0 is officially released as well.

    With debugging stops, it could be a known VS limitation. Pressing Shift-F5 before VisualGDB reports that the session has started, would send Visual Studio into a 30-second wait. If this is the case, please try stopping the session by pressing “cancel” in the GDB Session window instead, then VisualGDB will immediately report session termination to VS.

    If this does not help, please let us know if stopping the target (Debug->Break All) and then terminating the session works.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.