Quantcast
Viewing all articles
Browse latest Browse all 4910

General • Can't Set Breakpoints in Assembly Source using VS Code

The title says it all. I could have sworn I could set breakpoints in my assembly language source code when I was working on this project some time back. Today, with my code flashed and the debugger running, I can put the cursor on a line of code in an assembly source file and hit F9 and nothing happens. No little red dot appears, no breakpoint appears in the breakpoint section. If I hit F5 to run my code, then hit Ctrl-C to stop execution, I can see the system stop inside my assembly code. At that point, I can step through the assembly code using F10 or F11, but there is still no way to set a breakpoint in the assembler source file. I can set breakpoints just fine in my C sources, just not my assembler source.

I'm using the official Raspberry Pi CMSIS-DAP debugger.

Did something change? Or am I having some kind of brain fart?

Statistics: Posted by mookiedog — Tue Dec 24, 2024 1:07 am



Viewing all articles
Browse latest Browse all 4910

Trending Articles