[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debugging
From: |
David Bateman |
Subject: |
Re: Debugging |
Date: |
Tue, 13 Jul 2004 09:56:20 +0200 |
User-agent: |
Mutt/1.4.1i |
According to Charles Fox <address@hidden> (on 07/12/04):
>
> How do you do debigging in octave?
Check the FAQ at
http://octave.sourceforge.net/compatibility.html
Where you'll see the question
Q. debugging?
A. it exists but is not well documented
dbstop if error -> debug_on_error = 1
dbstop in mfile at lineno -> dbstop (func, line)
dbclear in mfile at lineno -> dbclear (func, line)
dbquit -> quit
dbstack -> dbwhere
dbcont -> dbg_cont
dbstep in -> dbg_step
dbstep -> dbg_next
dbstatus -> dbstatus
You might also try "help -i dbstop" in octave itself to get the manual
section corresponding to the debugging.
> Is there a nice graphical interface
> like matlab? Or do you have to mess around typing all those 'set
> breakpoint' commands?
Does the rest of octave have a nice graphical interface? GUI's are
for wimps, the CLI is for real men.... Only kidding, this is perhaps
one of the areas where octave is lacking wrt matlab.
Cheers
David
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------------------------------------------------------
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
-------------------------------------------------------------
- Debugging, Charles Fox, 2004/07/12
- Re: Debugging,
David Bateman <=