Menu

How to use the GDB for debugging?

2003-01-07
2012-09-26
  • Nobody/Anonymous

    Hi, I'm a new user in Dev-C++. I found difficulties in using the GDB command prompt in Dev to debug. I know the GDB command in linux environment but could not run the program by GDB. Could anyone help me?

     
    • Patrick Ogay

      Patrick Ogay - 2003-01-07

      Actually you just need to compile the program with the debugging compile option -g3.
      And start the program from debug/debug. The Breakpoints you set in the sourcecode, contextmenu, toggle Breakpoints...it's not difficult, even if you don't know gdb.

      Do you want to enter GDB-commands on the command line?  What do you want do do?
      Patrick

       
    • Nobody/Anonymous

      Hmmm Patrick, I posted on the other parallel thread....asked him what he wanted to do and what he had done etc...

      Wayne

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.