LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2002, 03:15 AM   #1
monowar
Member
 
Registered: Jun 2002
Location: Canada
Distribution: RedHat
Posts: 30

Rep: Reputation: 15
Debugger for C


Hi,
How can I debug C programs. If anyone know please inform me.

Monowar.
 
Old 07-01-2002, 04:11 AM   #2
Config
Member
 
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376

Rep: Reputation: 30
gdb is the 'standard' debugger - but therre are many others. KDevelop has one built in, and there is also gvd, which I haven't tried yet. But I think the best thing to use is gdb. It is console based but very powerful.
 
Old 07-01-2002, 07:05 AM   #3
udayan
Member
 
Registered: Apr 2002
Location: India
Distribution: Linux Redhat 7.0
Posts: 62

Rep: Reputation: 16
i also agree that gdb is a good debugger..
enjoy
ud
 
Old 07-01-2002, 08:13 AM   #4
valar
LQ Newbie
 
Registered: Jun 2002
Location: Norway
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
I haven't been using gdb to much, but I like ddd very much
cause it provides some graphical interface.
And I'm able to browse through my data structure in a graphical
manner. Only annoying thing is that I haven't figured out how
to syntax highlight the source code while debugging
 
Old 07-01-2002, 09:33 AM   #5
monowar
Member
 
Registered: Jun 2002
Location: Canada
Distribution: RedHat
Posts: 30

Original Poster
Rep: Reputation: 15
Hi,
Your answers are really helpful for me. But actually i'm looking for a graphical debugger. I think 'ddd' is one of them. So if anyone about some other graphical debugger for C/C++ and any web site on debugger please inform me.

Monowar.
 
Old 07-01-2002, 01:43 PM   #6
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Rep: Reputation: 30
I think you can try xxgdb its the graphical interface for gdb. It rocks.
 
Old 07-17-2002, 07:11 AM   #7
petercool
Member
 
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78

Rep: Reputation: 15
expensive

IDE interfaces can be expensive most of the free compilers and linkers are command line, or in windows command prompt. Look for the thread I've justed posted under programming, it states the free ones, i seen Cygwin and it looks brillant, i will try it in a couple of weeks, at the moment i'm using borland 5 command line tools it is free, and brillant.
 
Old 07-17-2002, 08:13 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Re: expensive

Quote:
Originally posted by petercool
IDE interfaces can be expensive most of the free compilers and linkers are command line, or in windows command prompt. Look for the thread I've justed posted under programming, it states the free ones, i seen Cygwin and it looks brillant, i will try it in a couple of weeks, at the moment i'm using borland 5 command line tools it is free, and brillant.
again there are LOADS of FREE IDE's for linux which wrap the command line tools. no expense involved
 
Old 07-17-2002, 09:33 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I second gdb being ingenious... :}

As for graphical frontends/interfaces ... xxgdb hasn't been maintained
for ages and offers less than ddd does.

Cheers,
Tink
 
Old 12-16-2005, 01:39 AM   #10
mcm1738
LQ Newbie
 
Registered: Mar 2005
Posts: 24

Rep: Reputation: 15
Using the GNU Visual Debugger is a good way!!!!

any one use it???
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DProbes debugger Igor007 Programming 0 09-13-2005 03:36 PM
c debugger alaios Programming 4 07-23-2005 08:37 PM
Debugger coolfrog Linux - General 2 09-25-2004 03:49 AM
c/c++ debugger Mikecore Programming 3 12-20-2003 05:24 AM
can't get out of debugger! PTBmilo *BSD 2 02-23-2003 11:02 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration