Debug C++ in Pulsar (LLDB preferred) #284
-
Is there someone also using Pulsar for C++ development (mostly learning in my case)? I'd like some pointer on how to debug code. Searching the packages, I've found some debug extensions, but they're not maintained and use gdb. I'm willing to learn how to develop an extension to do that, but at this stage it'd be a long way for me. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The bad news is that I'm not aware of any extension that acts as a frontend to a C/C++ debugger — though we'd certainly help with mentoring if you wanted to modernize one of those unmaintained extensions. Despite the fact that it doesn't do debugging, the best option is probably pulsar-ide-clangd — which uses the clangd language server:
|
Beta Was this translation helpful? Give feedback.
-
Something else: Is this the best place to talk about extension development and Pulsar stuff? The Lemmy account seems not as popular as the GitHub discussions. I'm not a huge fan of talking one-to-one personally, I like foruns better. |
Beta Was this translation helpful? Give feedback.
The “Word Count” package tutorial in the docs is the closest thing we have. (That URL links to our new docs, which are not 100% done but are hopefully easier to read and navigate through.) There are a couple tutorials that follow for other sorts of packages.
If you get through those and have an idea for any other sort of package other than a debugger, I'd do that one first, because a debugger is jumping straight from Algebra 101 to upper-division Calculus. (Though, of course, it's not quite as int…