Debugging Octave: Difference between revisions

227 bytes removed ,  4 April 2014
Line 63: Line 63:


= Tools for debugging =
= Tools for debugging =
== GDB ==
To start Octave under gdb use the script <code> run-octave </code> at the top level of the build tree and run it with the command-line option <code> -g </code>like this
    cd /octave/build/tree
    ./run-octave -g
== Producing a stack trace ==
== Producing a stack trace ==