|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #47796] GUI allows breakpoints to be set on empty line at EOF |
Date: | Thu, 28 Apr 2016 18:20:32 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0 |
Follow-up Comment #2, bug #47796 (project octave): It's a feature that you can set a breakpoint at or step to the end of a function or script after all executable statements have been evaluated. That way you can examine all variables that have been set. I guess you can think of it as setting a breakpoint just before the implicit "return" statement is evaluated. I think Matlab also behaves this way. I see 6 returned from dbstop instead of 7 and if I try dbstop FILE 6, it returns 0. But maybe you have one more blank line in the file than I do? _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47796> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |