octave-maintainers
[Top][All Lists]
Advanced

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

debug breakpoint commands want line numbers as strings!!


From: John W. Eaton
Subject: debug breakpoint commands want line numbers as strings!!
Date: Mon, 21 May 2007 22:25:28 -0400

On 22-May-2007, David Bateman wrote:

| Is there any reason why the debug commands require that the line numbers
| for breakpoints are set as strings?

I assume it was not intentional, but that it was written the way it
was so that these functions would work like commands (which get all
their arguments as character strings).

| It seems that it makes more sense
| that these are integers or matrices instead. It also means that reseting
| all breakpoints in a function can't be written as
| 
| dbclear ("foo", dbstatus ("foo"))
| 
| which would make a lot of sense to me.. what about the attached patch?
| The above code then works, and it even keeps backward compatibility.

I applied it.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]