On Wed, 2002-08-21 at 23:21, Cruz, Jose Mari wrote:

> If i have a source code(.cpp) how can i trace it in Linux?
> coz im only familiar with ther debugging on windows,
> how do i do it in linux?

i use gdb (the gnu debugger).  there are graphical front ends to 
gdb (e.g., ddd, www.gnu.org/software/ddd).  you might have better
luck with those if you're not already familiar with gdb.  the
interface will probably be better for you.  i never use the
graphical front ends because i'm already familiar with gdb, and,
well, my computers are puny and i don't need the graphical
stuff to slow them down even more.

make sure the source code is compiled with -g so that debugging
symbols are included.  if it wasn't compiled with -g, you'll want
to recompile the whole thing.

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni*ph tiger*sni*ph

                   Veritas liberabit vos.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to