Using gdb

If BornAgain GUI or a script crashes, re-run under gdb.

Scripts under pyenv

If Python is under pyenv control the command

gdb python

will not work. Instead, use

gdb --args /usr/bin/python3 <script>

where the path /usr/bin/python3 must be adapted to point to a Python executable that is not installed via pyenv. Also consider python3-dbg (from Debian package of same name).