[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debug
From: |
John W. Eaton |
Subject: |
Re: Debug |
Date: |
Mon, 11 Jun 2007 14:17:09 -0400 |
On 11-Jun-2007, David Grohmann wrote:
| typically the error messages give you a good idea where to sprinkle a
| few 'keyboard' statements in your code, and then you can use, 'dbstep'
| and 'dbcont' to go thorugh your code just liek in matlab, though
| 'dbstep' in octave seems to be stepping through the actual parsing of m
| files which I think is the wrong abstraction, instead of statements, and
| also I don't know of a way to step over vs step into in octave.
|
| I just have the octave prompt side by side with the text of the .m file
| and correlate the 2 in my head, 'dbwhere' *sometimes* gets it right as
| to which line you are on as well. a lot of the time it will say
| filename.m : -1 instead of a line number.
Yes, the debugging commands could be much better. If people want this
to improve, then someone needs to do the work and submit some
patches. If anyone is interested, then I'd recommend joining the
maintainers mailing list and discussing your ideas or plans there.
jwe
- Debug, Horsmans Bernard \(DBB\), 2007/06/11
- Re: Debug, Steve Thompson, 2007/06/11
- Re: Debug, David Grohmann, 2007/06/11
- Re: Debug,
John W. Eaton <=