Debugging Octave: Difference between revisions
Jump to navigation
Jump to search
→GBD
(→Emacs) |
(→GBD) |
||
Line 12: | Line 12: | ||
= Tools for debugging = | = Tools for debugging = | ||
== GBD == | == GBD == | ||
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 | |||
<code> | |||
cd /octave/source/tree | |||
./run-octave -g | |||
</code> | |||
=== Most used commands === | === Most used commands === | ||
[http://www.gnu.org/software/gdb/documentation gdb documentation] | [http://www.gnu.org/software/gdb/documentation gdb documentation] |