help-octave
[Top][All Lists]
Advanced

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

Re: How do you guys do debugging?


From: Joan Picanyol i Puig
Subject: Re: How do you guys do debugging?
Date: Thu, 24 Feb 2005 17:26:38 +0100
User-agent: Mutt/1.5.6i

* Charles Fox <address@hidden> [20050220 16:59]:
> Just curious.... do you have debug tools inside of Emacs, Vim etc; or are
> you using the command line debugger in octave itself?  Or just
> putting printf statements all over your code? 

I put this in my functions:

    if(exist('OCTAVE_VERSION'))
        old_silent_functions = silent_functions;
        silent_functions = 0;
    end

    if(exist('OCTAVE_VERSION'))
        silent_functions = old_silent_functions;
    end

And keep commas instead of semicolons, to allow for easier Matlab
integration.

qvb
-- 
pica



-------------------------------------------------------------
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]