I am debugging stm32 program ,and i want to see assembly code when debugging the program.
Which IDE are you using for debugging?
In Visual Studio Code:
- Go to the Debug view (click the bug icon on the left side)
- Click DISASSEMBLY at the very bottom
- Click Switch to assembly
4 Likes
What do I need to do if, on the contrary, I want to debug using C++ code, but WE Code starts debugging and runs through the file in assembler?
When debugging starts, the main.dbgasm file opens and looks like assembly code. When I switch to main.cpp and I click take a step, I am thrown back to main.dbgasm and walks along it.
How to solve the problem?