Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29276 Discussions

I'm a new user, and I can't get my debugger to work

henders64
Beginner
532 Views
I am a new user of Compaq Visual Fortran. I am trying to use the Debuggerbut it'snot working. Here are the steps I go through: I edit my program, then I set active configuration to "Debug". Then I choose "Rebuild All" and it compiles and links with 0 errors and 0 warnings. I then click the "GO" button for debugging, and it then gives me a dialog box error message saying that the executable does not contain dubugging information.
Can anyone help out?
Thanks.
0 Kudos
3 Replies
sabalan
New Contributor I
532 Views
Set a breakpoint (F9) on the first line of your code and then click on "Go". If the execution stops on the first line then you can step in your code line by line (F11) and debug it. But if you still get the message telling about no debug information before coming to the breakpoint, then you may have some other executable which tries to call your program (some VB application?). Click on Project / Settings... / Debug and see under"Executable for debug session" what the caller executable is.
Sabalan.
0 Kudos
henders64
Beginner
532 Views
Yes, I have already set breakpoints, and I have also checked the caller executable, as you suggested, and it has the correct name, which is program.exe. Any other suggestions?
0 Kudos
sabalan
New Contributor I
532 Views
OK. In that case the message means that debug information is missing for your caller executable Program.exe. If you want to debug just your Fortran application, then you can ignor that message and continue to debug (click OK in that dialog. You cancheck for "Do not prompt in the future"). But if you want to debug your caller executable Program.exe too, thenyou can replace Program.exe with e.g. VB6.exe (if Program.exe is built in VB 6.0), begin to debug as usual. VB is going to start, you can load and run your code for Program.exe, debug it and then step into your Fortran application.
Sabalan.
0 Kudos
Reply