help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging


From: Albert F. Niessner
Subject: Re: debugging
Date: 03 Feb 2003 11:26:03 -0500

Easiest thing to do is to reconfigure, recompile, and reinstall octave
to get the debugging switch turned on. Before running 'configure' --
assuming you are using sh -- do the following:

export CFLAGS="-ggdb"
export CXXFLAGS="-ggdb"
export FFLAGS="-ggdb"

When you do your 'make all install' you should see the compiler using
the -ggdb switch for all of the source. As Johann Drexl suggested, use
ddd because it is much simpler to learn and use than the gdb command
line.

Al Niessner

On Sat, 2003-02-01 at 11:06, branganj wrote:
> Hi,
> I need to sieve through the source code for octave for my final year project.
> I'm not very good with gdb.  Can I use this? Like if octave is already 
> installed how do i use it? Should i compile it again using -g?????????
> What i really need to know from the debugger is where octave starts out?
> Which file reads in off the command line?  EG for the * operation?
> Thanks,
> Confused,
> Jill Brangan.
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]