|
From: | Doug Stewart |
Subject: | Re: Debug an Octave program |
Date: | Tue, 24 May 2005 09:24:50 -0500 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Riccardo Corradini wrote:
Dear octave users, I would like to know which is the best strategy to debug an octave program Are there any function like step in or continue or step by step or step into a function called by another function. Unfortunately I did not find any tutorial about using properly the octave debbuger.. Do you have any detailed hints regrading this issue? Thanks a lot Riccardo
The way I do it is:I place a pause --- the command pause stops the execution until you press enter
at different places in the code just before the pause I place the variable name that I am interested in example code code y=x+log(q); y pause code code I hope this helps Doug Stewart ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |