-   Programming (
-   -   How do I debug a C program (

mfeoli 03-12-2004 10:55 AM

How do I debug a C program

this is a rather basic question, so excuse my ignorance.

I have a C code which i supposed to compile and run on C under Linux, I need to debug it line by line as you do on windows applications like VC++ and delphi.

can this be done? how or with what software?


trickykid 03-12-2004 10:58 AM

Moved: Seems more suitable in our Programming forum. Regards.

bigearsbilly 03-12-2004 11:08 AM

Fantastic tool:

if you got suse, it's on the distro disk.


johnMG 03-12-2004 02:58 PM

gdb is the command line debugger on GNU/Linux.

There are GUI front-ends available for it, such as ddd and xgdb.

Learn to use gdb first. :)

All times are GMT -5. The time now is 09:36 PM.