387
edits
(→GDB) |
|||
Line 72: | Line 72: | ||
== Producing a stack trace == | == Producing a stack trace == | ||
Sometimes Octave will crash, meaning, it terminates abruptly and returns control to the operating system shell. In these cases, it is very helpful to produce a stack trace to | Sometimes Octave will crash, meaning, it terminates abruptly and returns control to the operating system shell. In these cases, it is very helpful to produce a stack trace to diagnose the problem. To do so, you need to (re)compile Octave with debugging symbols and run the debugger, as explained above. Then, run Octave: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |