LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2010, 03:06 AM   #1
sanddune008
LQ Newbie
 
Registered: Nov 2006
Posts: 13

Rep: Reputation: 0
How to used Debugger with Linux (for C and C++)


Hi,

1. How do i use the Debugger in Linux.
I am using Vi editor and terminal.
For C and C++ programs.

2. Any great tutorials or link.

3. Is there any C and C++ IDE similiar to VC++? Were I can set breakpoints etc?

4. Is makefile the option to compile multiple files while using Terminal for compiling?

I would be delighted if someone can point me a valuable guide or book.

Thanks in advance
 
Old 03-08-2010, 03:30 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
There are plenty of tutorials available - search for 'gdb tutorial howto'

Eclipse seems to be a popular, heavy duty IDE, but there are plenty of others available.

Makefiles are instructions/directives for the 'make' program, there are also tons of tutorials available for this - search for 'makefile tutorial'

cheers
 
Old 03-08-2010, 04:00 AM   #3
kainosnous
Member
 
Registered: Mar 2010
Location: Tennessee, USA
Distribution: Arch, Fedora
Posts: 59

Rep: Reputation: 18
If you are using vi and makefiles, look into the :make command in vi. It will allow you to run make from the command line and, if there is an error, can even return you to the line in the file where the error was found.

Also, if you haven't already tried it, look into screen. GNU Screen allows you to run multiple virtual terminals inside of one terminal. You can then switch easily between multiple terminals, copy and paste between them, and even detach the whole session and reatach it -- even over a network.
 
Old 03-08-2010, 04:27 AM   #4
vlrk
Member
 
Registered: Dec 2008
Posts: 51

Rep: Reputation: 1
kdevelop will give look and feel similar to the vc++ in windows.

You can have look on the emacs another popular editor.
 
1 members found this post helpful.
Old 03-11-2010, 04:05 AM   #5
sanddune008
LQ Newbie
 
Registered: Nov 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks...
Let me check out...
 
  


Reply



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
linux Debugger Misbah Naveed Linux - Kernel 1 01-08-2008 11:27 AM
LXer: Bi-directional Linux debugger LXer Syndicated Linux News 0 09-03-2006 06:54 PM
php debugger for linux sunlinux Programming 4 06-19-2006 12:08 AM
linux debugger an IDE thrix Programming 8 04-02-2004 01:05 AM
Best IDE and DEBUGGER for linux ?? ritesh_aladdin Linux - Software 2 07-24-2003 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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