dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 28

Thread: [RESOLVED] What debuggers do you use?

  1. #1
    Join Date
    Dec 2018
    Posts
    12

    [RESOLVED] What debuggers do you use?

    What debuggers and useful plug-ins for Visual Studio can you recommend? (For Windows)

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,407

    Re: What debuggers do you use?

    What is wrong with the standard VS debugger?
    Victor Nijegorodov

  3. #3
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,148

    Re: What debuggers do you use?

    Visual Studio includes one of the best debuggers that I've tried.
    I would never try to replace the built-in debugger.

    Regarding plugins, I've use VisualAssist in the past, and now I'm using Resharper for C++.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  4. #4
    2kaud's Avatar
    2kaud is offline Super Moderator Power Poster
    Join Date
    Dec 2012
    Location
    England
    Posts
    6,728

    Re: What debuggers do you use?

    useful plug-ins for Visual Studio
    Test Platform
    Spell Checker
    Go To Definition
    Power Tools
    Black Space
    Quick Fixes
    Editor Guidelines
    Visual Assist

    If you go to Tools/Extensions/OnLine you can see what is available.
    All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!

    C++17 Compiler: Microsoft VS2019 (16.1.6)

  5. #5
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,148

    Re: What debuggers do you use?

    BuildVision is another nice plugin to give a nicer overview of a build process.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  6. #6
    Join Date
    Dec 2018
    Posts
    12

    Re: What debuggers do you use?

    Quote Originally Posted by VictorN View Post
    What is wrong with the standard VS debugger?

    I have no complaints about the standard debugger. I'm just looking for convenient enhancements to work more efficiently.

  7. #7
    Join Date
    Dec 2018
    Posts
    18

    Re: What debuggers do you use?

    There are a huge number of plug-ins for Visual Studio. It all depends on what technology stack you use. What data you work with.
    I tried the plugin for GitHub, very convenient. Sometimes I use Regex Tester (for working with regular expressions), Deleaker (debugger for VisualStudio)

  8. #8
    Join Date
    Dec 2018
    Posts
    12

    Re: What debuggers do you use?

    Quote Originally Posted by 2kaud View Post
    Test Platform
    Spell Checker
    Go To Definition
    Power Tools
    Black Space
    Quick Fixes
    Editor Guidelines
    Visual Assist

    If you go to Tools/Extensions/OnLine you can see what is available.
    Thank you, I have reviewed some items from this list. Editor Guidelines looks great, I try to use!

  9. #9
    Join Date
    Dec 2018
    Posts
    18

    Re: What debuggers do you use?

    Quote Originally Posted by Sarah Alfred View Post
    Visual studio and spell checker are the two best debugger i have come across. Would like to know more
    Is there something better? I doubt

  10. #10
    Join Date
    Feb 2017
    Posts
    444

    Re: What debuggers do you use?

    Quote Originally Posted by Azazell View Post
    Is there something better? I doubt
    There may be one - you!

    The best debugger is the programmer herself by simply not introducing bugs.

    I realize of course the importance of good debuggers, but they are no replacement for proper software engineering.

  11. #11
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,008

    Re: What debuggers do you use?

    Quote Originally Posted by wolle View Post
    There may be one - you!

    The best debugger is the programmer herself by simply not introducing bugs.

    I realize of course the importance of good debuggers, but they are no replacement for proper software engineering.
    But, why not let the IDE/Debugger help with the process? Imo, Visual Studio is one of the best (if not the best), but a developer needs to invest some time in learning all the features that is offerred out-of-the-box. Even learning half its features will set you on a path to become an expert debugger.

  12. #12
    Join Date
    Feb 2017
    Posts
    444

    Re: What debuggers do you use?

    Quote Originally Posted by Arjay View Post
    But, why not let the IDE/Debugger help with the process? Imo, Visual Studio is one of the best (if not the best), but a developer needs to invest some time in learning all the features that is offerred out-of-the-box. Even learning half its features will set you on a path to become an expert debugger.
    I don't deny the need for good debugging tools. It's just it's so much better if there are no bugs in the first place.

    Therefore I think the best debugging tool is writing bug-free software. The road to that is well educated programmers using proper software engineering methods.

    Lets face it, debugging spells failure. You didn't write working code, you produced a bug you now have to find with a tool taking lots of time.
    Last edited by wolle; January 25th, 2019 at 10:52 PM.

  13. #13
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,008

    Re: What debuggers do you use?

    Quote Originally Posted by wolle View Post
    I don't deny the need for good debugging tools. It's just it's so much better if there are no bugs in the first place.

    Therefore I think the best debugging tool is writing bug-free software. The road to that is well educated programmers using proper software engineering methods.

    Lets face it, debugging spells failure. You didn't write working code, you produced a bug you now have to find with a tool taking lots of time.
    Sorry, that attitude is an academic fantasy. In a complex system with real world constraints like time and budget, no one writes bug free code. Perhaps this is why many university students haven't a clue about debugging when they graduate.

  14. #14
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,407

    Re: What debuggers do you use?

    Quote Originally Posted by wolle View Post
    There may be one - you!

    The best debugger is the programmer herself by simply not introducing bugs.

    I realize of course the importance of good debuggers, but they are no replacement for proper software engineering.
    Hmm,
    IMHO, there's no software without bugs. Period.
    Well, of course I mean some "more complicated" than just Hello World! software.
    Victor Nijegorodov

  15. #15
    Join Date
    Feb 2017
    Posts
    444

    Re: What debuggers do you use?

    Quote Originally Posted by Arjay View Post
    Sorry, that attitude is an academic fantasy. In a complex system with real world constraints like time and budget, no one writes bug free code. Perhaps this is why many university students haven't a clue about debugging when they graduate.
    Of course, when you do have a bug having a good debugger is paramount, but I still think focus too often is on finding bugs rather than on preventing them.

    Vocational training isn't the main objective of universities. Focus is more on basic stuff that will last a lifetime and less on today's fads. But even so, graduates today have much better practical programming skills than in the past and that includes debugging. At least that's my impression.

    Academic fantasy or not, also many companies are very concerned with high code quality and I've never heard debuggers being mentioned as a key strategic tool to achieve it. On the contrary, when programmers spend more time debugging than coding it's a problem because it affects earnings negatively. Therefore these companies go to great lengths not to allow what you call "real world constraints" to have a negative impact on code quality.

    With that I rest my case.
    Last edited by wolle; January 27th, 2019 at 11:09 PM.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)