EDIT: I specified 'within vim' but actually I'd be down for standalone Linux app recommendations too.
Rust, RR, Neovim: A perfect debug combination
11–20 of 102 posts
Re: Rust, RR, Neovim: A perfect debug combination
#12Investing in a good debugging tool and knowing your way around using it well, makes all the difference.
But all those tiny times add up, over years, decades. And eclipse the time of that afternoon+ spent on learning & configging debuggers in months already.
Don't be me, that senior dev who'd been promising himself for decades to really get down to learning and setting up gdbg or equivalent. And then, once invested, keeps thinking: "I should've done this years ago".
Re: Rust, RR, Neovim: A perfect debug combination
#13Anyone got other useful tools for debugging within (neo)vim? Just seamlessly putting down breakpoints, stepping through code execution, and getting a fully fledged debugging UI experience (a la Visual Studio or Remedy BG)? This is possibly the only thing I miss from developing on Windows, and it's a shame! EDIT: I specified 'within vim' but actually I'd be down for standalone Linux app recommendations too.
Re: Rust, RR, Neovim: A perfect debug combination
#14Funny thing is that thanks to rust compiler I never had a need to debug my code :-)
But I still find it helpful when you need to check what's wrong in other people's code, since they might not design with types like I do.
Re: Rust, RR, Neovim: A perfect debug combination
#15Investing in a good debugging tool and knowing your way around using it well, makes all the difference.
Re: Rust, RR, Neovim: A perfect debug combination
#16Funny thing is that thanks to rust compiler I never had a need to debug my code :-)
So true. With proper type driven design you basically don't need a debugger anymore. But I still find it helpful when you need to check what's wrong in other people's code, since they might not design with types like I do.
Also it can help find why something three crates deep into your dependency tree panicked.
Re: Rust, RR, Neovim: A perfect debug combination
#17Anyone got other useful tools for debugging within (neo)vim? Just seamlessly putting down breakpoints, stepping through code execution, and getting a fully fledged debugging UI experience (a la Visual Studio or Remedy BG)? This is possibly the only thing I miss from developing on Windows, and it's a shame! EDIT: I specified 'within vim' but actually I'd be down for standalone Linux app recommendations too.
There are also DAP-based integrations, which I have put the effort into using.
Re: Rust, RR, Neovim: A perfect debug combination
#18Investing in a good debugging tool and knowing your way around using it well, makes all the difference.
After recently doing some JavaScript work and not knowing how to debug it, any suggestions for a JavaScript debugger? Part of the problem is it's already difficult to get a modern JavaScript stack setup: TypeScript transpiles to JavaScript trasnpiles to different bundles that all get minified and backfilled and next thing you know your debugging a variable named i̷̪̱͆͛w̵̤̹̠͊̇̈x̷̨̻̽̍̄͆ on line 582956, and you ask your…
Re: Rust, RR, Neovim: A perfect debug combination
#19Anyone got other useful tools for debugging within (neo)vim? Just seamlessly putting down breakpoints, stepping through code execution, and getting a fully fledged debugging UI experience (a la Visual Studio or Remedy BG)? This is possibly the only thing I miss from developing on Windows, and it's a shame! EDIT: I specified 'within vim' but actually I'd be down for standalone Linux app recommendations too.
To that end I would say Intellij products have the best debugging experience I've found on Linux. VS Code after that.
Re: Rust, RR, Neovim: A perfect debug combination
#20Funny thing is that thanks to rust compiler I never had a need to debug my code :-)