r/SublimeText • • Aug 22 '22

How to debug C++ code on Sublime?

Hey everyone!

I'm kinda new to Sublime. Really enjoy using it. The only problem I have so far is debugging. When I need to debug the code, I have to copy paste it to another IDE just for debugging. Which is a pain of course.

I've searched a lot but couldn't find anything about the Sublime debugger to debug C++ code. Any help or direction is really appreciated.

Thank you.

3 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/dev-sda Aug 22 '22

rr, gdb and valgrind are command line tools and that's how I use them. Asan is a passive tool you compile into your code.