Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging in GPS IDE

Tags:

ada

gnat-gps

I'm using GPS IDE for Ada 95 coding. When I try to put a break point in a .adb file, I'm getting a message "No source file named filename.adb". I built the project and initialized the debugger. What could have gone wrong?

Oddly, I'm able to execute the program.

like image 420
user2094828 Avatar asked Feb 26 '13 07:02

user2094828


1 Answers

Did you enable the debug option for your project? Use Project/"Edit Project Properties" to open the project properties dialog, click the "Switches" tab. Then on each of the Gnatmake, Ada, and Ada Linker tabs check "Debug Information". Close the dialogs, then do a Build/Clean and rebuild your project. (Don't forget to save any changes, do Project/Save All.)

like image 141
Marc C Avatar answered Sep 19 '22 19:09

Marc C