5 ms·
The Visual Studio .net (c# in particular) debugging experience has always been excellent in my opinion. One great plus for a managed language. I guess that the
by davidhyde 7y ago
The Visual Studio .net (c# in particular) debugging experience has always been excellent in my opinion. One great plus for a managed language. I guess that the closer you get to the metal the more difficult it is for a debugger to do its magical things and hence the poor experience for c++ devs.
- osullivj 7y agoMixed langs on the same stack view in VS was a breakthrough for me, coding in a mix of C# and C++.
- roca 7y agoApart from Intellitrace, AFAICT it's a great implementation of the traditional stop-and-inspect debugger feature set, but that's all. Intellitrace adds something, but not full access to all program states like rr (or Pernosco). So I think your expectations could be higher :-).
- GordonS 7y ago> it's a great implementation of the traditional stop-and-inspect debugger feature set, but that's all It provides more than that - the "Edit and Continue" feature is invaluable, allowing you to pause execution at a breakpoint and change the code, such that the new code runs when execution resumes. As an aside, Rider also has this feature, and I find it to be much faster and more reliable than VS. Visual Studio also recently got "Time Travel Debugging"[0], which lets you record execution then replay in the debugger. I haven't actually tried this yet. [0] https://devblogs.microsoft.com/visualstudio/introducing-time-travel-debugging-for-visual-studio-enterprise-2019/ https://devblogs.microsoft.com/visualstudio/introducing-time...
- roca 7y agoAh yes, TTD is a real game-changer. It compares fairly well with rr, though the recording overhead is often a lot higher. Lacks a lot of the Pernosco feature set though. I think that not many people have used TTD yet so when people talk about how great the VS debugger is, they're not really talking about TTD.
- GordonS 7y agoI think Visual Studio's TTD is still only available with Azure web apps or VMs, which certainly limits the audience. Hopefully it will be made more widely available soon.
- rb808 7y agoI used VS for a long time with C++ and C#. It really isn't fashionable though. I moved to more popular language stacks and continue to be amazed at all the problems, crappy debuggers included. I really miss edit and continue, hovering in breakpoints. I'd love to go back to C# but its just not what FANG-style companies do.
- thelazydogsback 7y agoYes, IMHO there's nothing that even approaches Visual Studio + Resharper + OzCode + Vim plugins...
- tonyedgecombe 7y agoOzCode looks impressive, I hadn't come across it before.