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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-01-2002, 03:15 AM
|
#1
|
Member
Registered: Jun 2002
Location: Canada
Distribution: RedHat
Posts: 30
Rep:
|
Debugger for C
Hi,
How can I debug C programs. If anyone know please inform me.
Monowar.
|
|
|
07-01-2002, 04:11 AM
|
#2
|
Member
Registered: Jan 2001
Location: Switzerland
Distribution: Gentoo
Posts: 376
Rep:
|
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.
|
|
|
07-01-2002, 07:05 AM
|
#3
|
Member
Registered: Apr 2002
Location: India
Distribution: Linux Redhat 7.0
Posts: 62
Rep:
|
i also agree that gdb is a good debugger..
enjoy
ud
|
|
|
07-01-2002, 08:13 AM
|
#4
|
LQ Newbie
Registered: Jun 2002
Location: Norway
Distribution: Slackware
Posts: 18
Rep:
|
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
|
|
|
07-01-2002, 09:33 AM
|
#5
|
Member
Registered: Jun 2002
Location: Canada
Distribution: RedHat
Posts: 30
Original Poster
Rep:
|
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.
|
|
|
07-01-2002, 01:43 PM
|
#6
|
Member
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250
Rep:
|
I think you can try xxgdb its the graphical interface for gdb. It rocks.
|
|
|
07-17-2002, 07:11 AM
|
#7
|
Member
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78
Rep:
|
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.
|
|
|
07-17-2002, 08:13 AM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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
|
|
|
07-17-2002, 09:33 PM
|
#9
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
12-16-2005, 01:39 AM
|
#10
|
LQ Newbie
Registered: Mar 2005
Posts: 24
Rep:
|
Using the GNU Visual Debugger is a good way!!!!
any one use it???
|
|
|
All times are GMT -5. The time now is 09:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|