3 ms·
Damn, seriously? I'm going to be writing some C++ soon, and I'm also planning to learn gdb, so I guess VS Code it is then. Thanks for the heads up!
by Cyph0n 10y ago
Damn, seriously? I'm going to be writing some C++ soon, and I'm also planning to learn gdb, so I guess VS Code it is then. Thanks for the heads up!
- steveklabnik 10y agoThere's also a brand-new lldb plugin too https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb https://marketplace.visualstudio.com/items?itemName=vadimcn....
- Cyph0n 10y agoWhich would you recommend I start with as a newcomer to the low-level debugging world - gdb or lldb? I have some experience debugging assembly in x86 real mode (yep, my class was outdated!).
- steveklabnik 10y agoI personally don't have enough direct experience with lldb to say. I've heard good things. It's on my list of stuff to try out.
- pYQAJ6Zm 10y agoI have little experience with both, but the developers of LLDB have a goal of making more informative error messages. This was successful enough that GDB devs were compelled to mimic this behavior, making their error reporting more accessible. As far as I know, LLDB still has the advantage in this regard.
- baldfat 10y ago> I have some experience debugging assembly in x86 real mode (yep, my class was outdated!). Are you kidding that is an awesome skill to have. Everyone "should" learn assembly and write a small program once.
- rayiner 10y agoVSCode's C++ plugin supports both gdb and lldb (at least on macOS). As for what to learn--I'd learn GDB. Pretty much every architecture on the planet has a GDB port.
- Cyph0n 10y agoYeah GDB it is. The C++ plugin is excellent from what I've seen and the debugging UI is very pleasant to work with.