Hello,
is there a way to show disassembly in VS Code without debugging HW? I understand that I can see it during debugging session but I have no HW for JTAG. I would like to just inspect the way certain functions are called.
Thank you
Have a nice day
How to show disassembly using VS Code without debugging HW? [Resolved]
-
Victoria Nope
- Posts: 75
- Joined: Fri Dec 04, 2020 9:56 pm
How to show disassembly using VS Code without debugging HW? [Resolved]
Last edited by Victoria Nope on Tue Dec 22, 2020 5:43 am, edited 1 time in total.
-
Victoria Nope
- Posts: 75
- Joined: Fri Dec 04, 2020 9:56 pm
Re: How to show disassembly using VS Code without debugging HW?
User ESP_Dazz answered me in this post:
You can get the disassembly yourself by running either objdump or gdb:
Assuming your project folder is "hello-world":
Once in GDB, run:Code: Select all
cd hello-world xtensa-esp32-elf-gdb ./build/hello-world.elf
Code: Select all
disassemble app_main
Who is online
Users browsing this forum: Applebot, Baidu [Spider], ChatGPT-User, PerplexityBot, Qwantbot, Semrush [Bot] and 6 guests