Thread: Debuggers for C++

  1. #1
    Registered User
    Join Date
    Oct 2018
    Posts
    10

    Debuggers for C++

    Hello!
    What debuggers for Windows do you use? Which are the most useful and convenient to use?
    At first I studied Java. And when I started working with C ++, I had problems with memory leaks. What tools can help me to localize leaks??
    (I have already seen a similar topic, but I have a more specific question. As I understand it, I need an analogue of Valgrind for Windows)
    I would be grateful for any advice, articles, etc.

  2. #2
    Registered User
    Join Date
    Oct 2018
    Posts
    18
    Do you use Visual Studio? If yes, try searching for Visual Studio plugins.
    Visual Leak Detector is memory leak detection system for Visual C++. Good tool for start. It does not work with all types of leaks, but I hope it will be enough.

  3. #3
    Registered User
    Join Date
    Oct 2018
    Posts
    18
    I heard about this debugger. I'll try to use it.

  4. #4
    Registered User
    Join Date
    Oct 2018
    Posts
    10
    Quote Originally Posted by MasterYoda View Post
    Do you use Visual Studio? If yes, try searching for Visual Studio plugins.
    Visual Leak Detector is memory leak detection system for Visual C++. Good tool for start. It does not work with all types of leaks, but I hope it will be enough.
    Yes, I'm looking for a debugger for Visual Studio, preferably it should work with the latest version of Visual Studio.
    I used VLD, but I still have problems with some types of leaks.

  5. #5
    Registered User
    Join Date
    Oct 2018
    Posts
    18
    As for me, I use Deleaker. This is a plugin for Vizual Studio. This tool catches most leaks.
    Wikipedia has a "list of debuggers". You can check which one is good for you and your project.

  6. #6
    Registered User
    Join Date
    Oct 2018
    Posts
    2
    [LEFT]Probably the two major ones would be the one built into Visual Studio and gdb for gcc although there is, of course, a plethora of such things.[COLOR=#242729][FONT=Arial]It probably depends quite a bit on what environment you're using as to which debugger is suitable. Since you haven't specified even the platform you're developing on, that's about as much help as I can give.
    Last edited by Salem; 12-25-2018 at 02:57 AM. Reason: Snip poor tutorial

  7. #7
    Registered User
    Join Date
    Oct 2018
    Posts
    10
    Quote Originally Posted by aditya56 View Post
    [LEFT]Probably the two major ones would be the one built into Visual Studio and gdb for gcc although there is, of course, a plethora of such things.[COLOR=#242729][FONT=Arial]It probably depends quite a bit on what environment you're using as to which debugger is suitable. Since you haven't specified even the platform you're developing on, that's about as much help as I can give.
    I think everything is written above. I am using Windows 10 now. And Visual Studio 17. What else to add?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. GUI debuggers
    By nipun in forum Linux Programming
    Replies: 1
    Last Post: 03-26-2006, 01:11 PM
  2. Debuggers, how to use?
    By DarkViper in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 01-08-2003, 12:14 AM
  3. Debuggers
    By rip1968 in forum C++ Programming
    Replies: 5
    Last Post: 04-19-2002, 06:00 PM
  4. What are some good debuggers?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 04-01-2002, 08:36 AM
  5. Low level debuggers
    By Korn1699 in forum C++ Programming
    Replies: 8
    Last Post: 03-27-2002, 01:39 PM

Tags for this Thread