Skip to content

Using ThreadDebug Lib: GDB Debugger Terminated Unexpectedly. #102

Open
@jwestmoreland

Description

@jwestmoreland

Describe the bug
Attempting to debug with the ThreadLib debug library - get message GDB debugger terminated unexpectedly.

To Reproduce
Steps to reproduce the behavior:

  1. At the top of your code:
    #include <ThreadDebug.h>
    
    // UartDebugCommInterface debugComm(SERIAL1_TX, SERIAL1_RX, 230400);
    // ThreadDebug threadDebug(&debugComm, DEBUG_BREAK_IN_SETUP);
    UsbDebugCommInterface debugComm(&SerialUSB);
    ThreadDebug threadDebug(&debugComm, DEBUG_NO_BREAK_IN_SETUP);
  2. Build & Download
  3. Start debug session by Debug->Start Debugging
  4. See error - GDB debugger terminated unexpectedly.

Expected behavior
Debug session should start.

Screenshots
If applicable, add screenshots to help explain your problem.

Message pops up and goes away.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]
    Windows 10 - 2020 latest released from M$

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions