help-octave
[Top][All Lists]
Advanced

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

Re: Inoltra: Re: debug mex file in octave


From: Olaf Till
Subject: Re: Inoltra: Re: debug mex file in octave
Date: Thu, 26 Oct 2006 10:16:26 +0200
User-agent: Mutt/1.5.9i

On Wed, Oct 25, 2006 at 10:21:30AM -0700, frank wang wrote:
> Hi, John and Riccardo,
> 
> I have found the anwser of my second question. I manully edited the
> mkoctfile to replace O2 with O0, then I can print the variable now. Please
> ignore the second question.

Probably it would suffice to:

export CXXFLAGS="-ggdb -Wall -O0"
export CFLAGS="-ggdb -Wall -O0"

before calling mkoctfile.

> 
> For John, please keep this trick available for mex file until we can find
> another way to debug mex code.
> 

My gdb (version 6.3) asks me if it should set a breakpoint pending on
a future shared library load, without tricks ...

Olaf


reply via email to

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