Debugging Octave: Difference between revisions

1 byte removed ,  27 November 2012
Line 65: Line 65:
= Tools for debugging =
= Tools for debugging =
== GDB ==
== GDB ==
To start Octave under gdb use the script <code> run-octave </code> at the top level of the source tree and run it with the command-line option <code> -g </code>like this
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
     cd /octave/build/tree