Other UIs that use GDB under the hood are likely to have their own ways to achieve this. To debug this script it's easiest to use the interactive python from a command-line GDB session. Stop at a ...