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

Intel Fortran Debugger problem: unable to start debugging

mdi7
Beginner
4,451 Views

Hi,

I am trying to debug a simple Fortran code using intel fortran 9.1 and visual studio.net 2003.

When I start to use the debugger, the following error message appears:

unable to start debugging

unable to start program:'c:..program.exe ' (where program is the name of my executable)

the server threw an exception.

I am using an windows xp pro dual core machine in a network.

As an issue to solve the problem, I tried to login into my computer as an administrator with all the rights, but I get the same error message.

Has this problem been submitted before

Regards.

0 Kudos
29 Replies
Steven_L_Intel1
Employee
1,517 Views
What are the versions of the files by the given names in the PackagesDebugger folder?
0 Kudos
Giel_H_
Beginner
1,517 Views
What are the versions of the files by the given names in the PackagesDebugger folder?

For CppEE.dll version 7...
For NatDbgEE.dll version 11..
The rest is obvious.
0 Kudos
Steven_L_Intel1
Employee
1,517 Views

That's correct, then. If you're still having problems, I suggest:

1) Uninstall Intel Fortran
2) Do a "Repair" on Visual Studio 2003
3) Reinstall Intel Fortran
0 Kudos
Giel_H_
Beginner
1,517 Views

That's correct, then. If you're still having problems, I suggest:

1) Uninstall Intel Fortran
2) Do a "Repair" on Visual Studio 2003
3) Reinstall Intel Fortran

Steve,

I tried your suggestion and it didn't work.
Should I escalate the problem as an issue to quad or do you have yet another suggestion?
I used a system restore to go back to version 11.0.066 and this version is OK.

In order to complete post #16:

If I start the program without using the debugger the error messages are:

1. unable to start debugging

2. unable to start program: 'Debugprogram.exe'
(where program is the name of my executable and where I used a Debug configuration).

3. The system cannot find the file specified.

If I start the program (with the debugger), the messages are:

1. unable to start debugging

2. The debugger is not properly installed.

3. Run setup to install or repair the debugger.

Install or repair the debugger doesn't solve the problem.

Finally, when doing a repair or modify action the screensof version 11.1.048 update 2 are confusing about whether the Intel Parallel Debugger is included or not in this version:
During the custom installation I cannot add this debugger (it is permanently deselected with a red cross).
During a repair or modifya screen appears stating that this versioncontains theIntel Parallel Debugger.

Kind regards,

Giel Habets
0 Kudos
Steven_L_Intel1
Employee
1,517 Views
At this point, I do suggest you file a report with Intel Premier Support.
0 Kudos
Giel_H_
Beginner
1,517 Views
At this point, I do suggest you file a report with Intel Premier Support.

Intel Premier Support has sent me a small Console6 "Hello World" Fortran Solution Example; that solution could be started without generating the above-mentioned error messages.
I discovered that the configuration propertiessettings had different entry values at Configuration properties - Debugging - Action - Command.
The Command entry should contain the (target) path to the executable;I inherited the following:

$(OutDir)program.exe
(where program is the name of the project).

The Console6 example solution contains in the Command entry:

$(TargetPath)

Changing the Command entry to $(TargetPath) solves the issue.
As a result, $(TargetPath) should be used for compiler version 11.1.048 and higher.

Kind regards,

Giel
0 Kudos
Steven_L_Intel1
Employee
1,517 Views

This is not compiler-specific. Perhaps your project had been set so that the linker output was not named "program.exe" (or whatever you had there, or it was not placed in the output directory. $(TargetPath) is typically the default.

I'm glad to hear that you got the problem resolved.
0 Kudos
Giel_H_
Beginner
1,517 Views

I can imagine that the integration of the Fortran compiler with Visual Studio has changedfor version 11.1.048 and higher.

----
Giel
0 Kudos
Steven_L_Intel1
Employee
1,517 Views
I'm not aware of any changes in the integration.
0 Kudos
Reply