Problem: You're using a msys2 / mingw gcc / gnat distribution and you're trying to debug Ada code, but you can't catch exceptions:
(gdb) catch exception
Your Ada runtime appears to be missing some debugging information.
Cannot insert Ada exception catchpoint in this configuration.
This is because the distribution installed via pacman is stripped by default. You need to compile gcc yourself and leave the binaries unstripped.
- Start a mingw64 shell
pacman -S base-devel- required formakepkggit clone git@github.com:msys2/MINGW-packages.gitcd MINGW-packages/mingw-w64-gcc- Edit
PKGBUILDin this directory, findoptionsand add!strip, e.g.options=('!emptydirs' '!strip') makepkg-mingw --syncdeps --install(this will ask you to install over your current global install)
Now you should be able to catch exceptions.