On 27.08.2013 22:35, c. wrote:
On 27 Aug 2013, at 18:30, Werner Koenig<address@hidden>
wrote:
Hello Kai, hello list
thank you for your quick response. Yes, I want to make a stack trace
like in debug mode of octave.
The purpose is, I want to evaluate in a subroutine, which function
calls this routine and what
is the linenumber of this call.
So long
Werner
you can either add the command 'keyboard' at the beginning of your
function or issue the command 'dbstop<function name>'
Octave will open a debug prompt whenever your function is called.
At the debug prompt type 'dbstack' to see the full call stack
including line numbers.
HTH,
c.
Hello C., hello list
that isn't a solution, because octave falls at both proposals in
debug-mode and than i have todo something manually, but that is not what
I want.
Perhaps I wasn't clear enough in my previous mails. The subroutine needs
this informations and there is no break welcome, the program has
to be continued until it reached its normal end.