Debugging Octave: Difference between revisions

Jump to navigation Jump to search
385 bytes removed ,  4 April 2014
Line 58: Line 58:
=== Most used commands ===
=== Most used commands ===
[http://www.gnu.org/software/gdb/documentation gdb documentation]
[http://www.gnu.org/software/gdb/documentation gdb documentation]
== Emacs ==
In short:
To start Octave in debug mode within emacs type
<code>
M-x gud-gdb
<code>
then change the command in the minibuffer to run gud-gdb (like this):
    /path/to/octave/build/tree/run-octave -gud
For more info use this
[http://www.gnu.org/software/emacs/manual/html_node/emacs/Debuggers.html#Debuggers link]
to the emacs manual section on debuggers operation


== ddd ==
== ddd ==

Navigation menu