RISCV VS Code debugger

52 views
Skip to first unread message

Muhammad Jan

unread,
Sep 27, 2024, 2:05:10 AM9/27/24
to RISC-V ISA Dev
Helllo @all,

Hope you all are doing well in health. I am looking for a debugger for RISCV simulators like spike on vs code. I would be glad if you guys help me find out one.


Tommy Murphy

unread,
Sep 27, 2024, 2:22:44 AM9/27/24
to Muhammad Jan, RISC-V ISA Dev
What exactly do you mean by "simulators like Spike"?
What simulators other than Spike? 

Spike debugging can be performed using GDB communicating with the simulator via OpenOCD.



And VS Code can be configured to integrate with all of these tools. There are many resources (e.g. blogs, tutorials, YouTube videos, etc.) that explain how to do this.

Muhammad Jan

unread,
Sep 27, 2024, 8:43:32 AM9/27/24
to RISC-V ISA Dev, Tommy Murphy, Muhammad Jan
Thanks, 
I'll look into these resources

Stefan Wallentowitz

unread,
Oct 1, 2024, 5:48:07 AM10/1/24
to Tommy Murphy, Muhammad Jan, RISC-V ISA Dev
Hi,

if its for learning purposes, we maintain a standalone vscode plugin
that is based on the Venus simulator and doesn't need any extra
installation:

https://marketplace.visualstudio.com/items?itemName=hm.riscv-venus

Best,
Stefan
> --
> You received this message because you are subscribed to the Google
> Groups "RISC-V ISA Dev" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to isa-dev+u...@groups.riscv.org.
> To view this discussion on the web visit
> https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/LO0P302MB003378B7E07F53334B8C356FF96B2%40LO0P302MB0033.GBRP302.PROD.OUTLOOK.COM
> .

Reply all
Reply to author
Forward
0 new messages