[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More questions about debugging
From: |
Kalle Raiskila |
Subject: |
More questions about debugging |
Date: |
Thu, 22 Jul 2004 20:53:36 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Continuing this message:
http://www.octave.org/mailing-lists/help-octave/2004/1620
Is it possible to debug files instead of functions?
If I'm writing a file, say, temporary.m as simply a list of commands
(in contrast to a reusable function), it feels somewhat awkvard to have
to define "function temporary()" just to be able to debug it.
Also, the dbstop-function seems to want the linenumber of executable
line, not the "real" line (which it returns). Well, its much simpler for
me (and propably all text-editors I know of) to tell which "real" line
I want the breakpoint at. To calculate which "command"-line it is, can
be quite painful...(especially the way I write code ;) )
Am I missing some option, or is it just impossible to do
dbstop("file.m", "<real-line-no>") ?
Thanks
Kalle Raiskila
--
For a GUI/IDE for octave, take a look at www.hut.fi/u/kraiskil/yaog.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
-------------------------------------------------------------
- More questions about debugging,
Kalle Raiskila <=