Introduction To Debugging with GNATbench

Within a native GNATBench session, debugging is supported via GDB and the CDT interactive debugging perspective.

The screenshots in this section use the project "sdc.gpr" from the GPS tutorial. That project and its associated code can be found under the GNAT installation in the directory share/examples/gps/tutorial.

Preparing To Debug

Before you begin to debug your project, make sure your project has built properly and you can see the target objects in the Project Navigator. You may need to refresh your view of the file system by right-clicking on the directory you are using for your objects and selecting "Refresh".

Other Resources

You can find more information about the debug facilities available under Eclipse in the CDT portion of the Eclipse help system.