Debugging Octave: Difference between revisions

Jump to navigation Jump to search
→‎Helpful gdb commands: Add "thread apply all bt"
(→‎Tools for debugging: Add more comments)
(→‎Helpful gdb commands: Add "thread apply all bt")
Line 129: Line 129:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
(gdb) print *(my_octave_value.rep)
(gdb) print *(my_octave_value.rep)
</syntaxhighlight>
The following command shows the back trace of all threads belonging to the Octave process:
<syntaxhighlight lang="bash">
(gdb) thread apply all bt
</syntaxhighlight>
</syntaxhighlight>


216

edits

Navigation menu