Debugging Octave: Difference between revisions

m
→‎Most used commands: fixed formating on the previous
(→‎Most used commands: Added tip about getting more information about an octave value)
m (→‎Most used commands: fixed formating on the previous)
Line 84: Line 84:
[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):
For debugging octave_value variables (e.g. <code>my_octave_value</code>) to find out what the variable actually is (instead of just it's base class):


<code>(gdb) print *(my_octave_value.rep)</code>
<syntaxhighlight lang="bash">
(gdb) print *(my_octave_value.rep)
</syntaxhighlight>


== ddd ==
== ddd ==
156

edits