Thread: How to use GDB for debugging code

  1. #1
    Registered User
    Join Date
    Feb 2022
    Posts
    73

    How to use GDB for debugging code

    I have installed GCC compiler with mingw on my windows machine. I write my code on notepad++ and run in command promote.

    I found GDB stands for GNU Project Debugger and is a debugging tool for C

    How to use GDB for debugging code ?

  2. #2
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,111
    Quote Originally Posted by Dadu@ View Post
    I have installed GCC compiler with mingw on my windows machine. I write my code on notepad++ and run in command promote.

    I found GDB stands for GNU Project Debugger and is a debugging tool for C

    How to use GDB for debugging code ?
    A simple Google search would provide many links to gdb tutorials, including the official GDB Manual!
    Last edited by rstanley; 07-26-2022 at 07:13 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help on debugging my code please
    By tomatogrower in forum C Programming
    Replies: 3
    Last Post: 01-19-2021, 01:22 AM
  2. help for debugging my code
    By mathink in forum C Programming
    Replies: 22
    Last Post: 01-09-2013, 05:06 AM
  3. debugging C code
    By MASX in forum C Programming
    Replies: 3
    Last Post: 03-14-2011, 05:45 AM
  4. Replies: 1
    Last Post: 03-10-2010, 11:28 AM
  5. Need help debugging my code
    By lala123 in forum C Programming
    Replies: 36
    Last Post: 03-17-2008, 04:47 PM

Tags for this Thread