LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-25-2004, 12:26 AM   #1
coolfrog
Member
 
Registered: Sep 2004
Location: India
Distribution: Slackware 10.0
Posts: 77

Rep: Reputation: 15
Debugger


Hi,
I want to know if there is any gui based debugger for c/c++ and also what command optins are required for generating the debug file for the respective debugger.
Thnx.
 
Old 09-25-2004, 03:04 AM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi again, coolfrog!

I told someone about gdb just the other day. Was that you? Anyway, gdb is a command line debugger. You invoke it from the command line by
gdb myprogram
and then use a set of text commands to run, set breakpoints and stuff like that. A program must be compiled with the '-g' option to gcc if you want to debug it. The '-g' option adds a lot of symbolic information to the code which the debugger reads. When your program works and you want to "ship it" that option should be turned off.

Now, over to your question. If you have installed a full Fedora Core 2, then you have a debugger in the menus: Programming > Debugger. This is a graphical front-end to gdb. It's pretty well documented too.

Good luck! How soon will we see great software coming from Coolfrog corporation?
Martin
 
Old 09-25-2004, 03:49 AM   #3
coolfrog
Member
 
Registered: Sep 2004
Location: India
Distribution: Slackware 10.0
Posts: 77

Original Poster
Rep: Reputation: 15
Thanx dude. Yup dat was me. Now that i've learnt debugging ..... so cool software will soon be on the way. :-)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugger for C monowar Programming 9 12-16-2005 01:39 AM
DProbes debugger Igor007 Programming 0 09-13-2005 03:36 PM
c debugger alaios Programming 4 07-23-2005 08:37 PM
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 > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:47 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