Skip to content

[Bug]: Debug session ends unexpectedly with the error "GDB exited unexpectedly" #600

@chentang16

Description

@chentang16

Description

When testing the Blinky reference example for STM32F746-Disc board, I set a breakpoint at a semihosting printf(). The debugger can pause correctly at the breakpoint. But when click run again, the debug session ends unexpectedly with the error "GDB exited unexpectedly" as shown in the screenshot:

Image

CMSIS Solution extension: 1.60.1-141-gb542ed3
CMSIS Debugger extension: 1.1.1-main16-gbd3fcbd.0

Attach the reproducer blinky example here

BlinkyTest - Copy.zip

Steps to Reproduce

  1. Build project
  2. Select ST-Link@pyOCD as debugger
  3. start debug session and run
  4. execution stops at the line 86 (breakpoint) of blinky.c
  5. click run again
  6. debug session ends unexpectedly with the error shown above

Expected Behavior

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

To InvestigateFeature/bug needs initial investigation to understand involved work

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions