Debugging in GPS IDE
Asked Answered
O

1

5

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.

Outsmart answered 26/2, 2013 at 7:9 Comment(0)
S
8

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.)

Schroeder answered 26/2, 2013 at 12:54 Comment(1)
Thanks, I'm able to debug.Outsmart

© 2022 - 2024 — McMap. All rights reserved.