ARM-software/vscode-embedded-debug

I can setup break points in the app

cekuran opened this issue · 7 comments

OS: Ubuntu 22.04.1 LTS Jammy
VS Code: 1.75.1
Extension: v0.8.0
Target Device: STM32U575ZITx

Launch file:
Screenshot from 2023-02-20 10-43-58

I am putting a breakpoint in the source code but when I start to debug it switch the break point to "Unverified Breakpoint"

An unverified breakpoint often means it can't map the source to the binary. Is your binary.out built with debugging symbols?

I am using -g -gdb and -O0
Screenshot from 2023-02-20 12-52-59
And I can debug step by step when I put connectMode underReset
Screenshot from 2023-02-20 13-03-42

Could you try using the -gdwarf-4 flag instead of -ggdb?

I have done it, but its behavior is the same

Are you happy to share your binary so we can investigate?

Here is the binary

binary.zip

Thanks @cekuran , @jreineckearm would you mind taking a look?