Debugging Octave: Difference between revisions

→‎Most used commands: Added tip about getting more information about an octave value
m (→‎Preliminaries: --enable-bounds-check was deprecated by -enable-address-sanitizer-flags)
(→‎Most used commands: Added tip about getting more information about an octave value)
Line 83: Line 83:
=== Most used commands ===
=== Most used commands ===
[http://www.gnu.org/software/gdb/documentation gdb documentation]
[http://www.gnu.org/software/gdb/documentation gdb documentation]
For debugging octave_value variables to find out what the variable actually is (instead of just it's base class):
<code>(gdb) print *(my_octave_value.rep)</code>


== ddd ==
== ddd ==
156

edits