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

64-bit debugger

Intel_C_Intel
Employee
3,038 Views
Hi,
I am a new user of Intel VF - until now, I used Compaq VF 6.6c.
I am trying to understand the differences in the two environments, and especially those necessary to create 64-bit executables from my old Fortran sources - which worked fine under CVF in 32-bit. My problem is, When I try to debug the program, I get the following error message:

'Unable to start program "..."'.
The components for the 64-bit debugger are not registered. Please repair your Visual Studio 2005 Remote Debugger installation via 'Add or Remove Programs' in Control Panel."

Notice that the same source code can be debugged when the platform is set at 32-bit.
I run Windows XP 64-bit on a dual quad-core HP workstation. My system is updated, and I haven't been able to find any help elsewhere. Has anybody else encountered this error message?
0 Kudos
14 Replies
Steven_L_Intel1
Employee
3,038 Views
This is a problem that just recently came to our attention. You see it only if you are using the included Visual Studio Premier Partner Edition - if you have a retail version of Visual Studio 2005, you don't get this.

To fix it, run C:Program FilesIntelDownloadIntelFortranCompiler10installs emote debuggerx64 dbgsetup.exe and follow the prompts. It will install the remote debugger and then run a configuration tool. It may prompt you about changing firewall rules, but you can ignore that. It is not actually going over the network.

We will fix the installer in a future update to run this automatically. We apologize for the inconvenience.
0 Kudos
Intel_C_Intel
Employee
3,038 Views
Thanks a lot, Steve. It works fine now.
0 Kudos
fridman__sergey
3,038 Views
Quoting - ISN Admin
Hi,
I am a new user of Intel VF - until now, I used Compaq VF 6.6c.
I am trying to understand the differences in the two environments, and especially those necessary to create 64-bit executables from my old Fortran sources - which worked fine under CVF in 32-bit. My problem is, When I try to debug the program, I get the following error message:

'Unable to start program "..."'.
The components for the 64-bit debugger are not registered. Please repair your Visual Studio 2005 Remote Debugger installation via 'Add or Remove Programs' in Control Panel."

Notice that the same source code can be debugged when the platform is set at 32-bit.
I run Windows XP 64-bit on a dual quad-core HP workstation. My system is updated, and I haven't been able to find any help elsewhere. Has anybody else encountered this error message?

0 Kudos
fridman__sergey
3,038 Views

I have the same problem with Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2005, 11.0.3453.2005 packeged with VS2005 +SP1. I tried to interpret your suggestions for this version and ran the file rdbgsetup.exe. Now when I run my 64 bit project ("my_project") in debugger I am getting the following message:
"Debugging information for 'my_project.exe' cannot be found or does not match. Binary was not built with debug information"
After that if I choose to run the project anyway the project runs with disabled debug functionality. How to fix it? My OS is Windows XPx64, Intel Core i7 processor.

0 Kudos
Steven_L_Intel1
Employee
3,038 Views
It sounds as if you have not built a Debug configuration. Please attach the buildlog.htm from the Debug folder of your project (and make sure you are specifying a debug configuration when you build.) See link below for attachment instructions.
0 Kudos
fridman__sergey
3,038 Views
It sounds as if you have not built a Debug configuration. Please attach the buildlog.htm from the Debug folder of your project (and make sure you are specifying a debug configuration when you build.) See link below for attachment instructions.
Build Log

Build started: Project: Console1, Configuration: Debug|x64

Output
Deleting intermediate files and output files for project 'Console1', configuration 'Debug|x64'.
Compiling with Intel Visual Fortran 11.0.072 [Intel 64]...
ifort /nologo /debug:full /Od /module:&quotx64Debug\" /object:&quotx64Debug\" /libs:static /threads /dbglibs /c /Qvc8 /Qlocation,link,&quotC:Program Files (x86)Microsoft Visual Studio 8VCbinamd64" &quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1Console1.f90"
ifort /nologo /debug:full /Od /module:&quotx64Debug\" /object:&quotx64Debug\" /libs:static /threads /dbglibs /c /Qvc8 /Qlocation,link,&quotC:Program Files (x86)Microsoft Visual Studio 8VCbinamd64" &quotC:CODEScodeWSBITikhFltrGPS_Inv_evolvetest64.F90"
Compiling manifest to resources...
rc.exe /fo &quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.exe.embed.manifest.res" &quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.exe.embed.manifest.rc"
Linking...
Link /OUT:&quotx64DebugConsole1.exe" /NOLOGO /MANIFEST /MANIFESTFILE:&quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.exe.intermediate.manifest" /OPT:NOWIN98 /IMPLIB:&quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.lib" /qnoipo &quotx64DebugConsole1.obj" &quotx64Debugtest64.obj" &quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.exe.embed.manifest.res"
Embedding manifest...
mt.exe /nologo /outputresource:&quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.exe;#1" /manifest &quotC:Documents and SettingssergeyMy DocumentsVisual Studio 2005ProjectstestConsole1x64debugconsole1.exe.intermediate.manifest"

Console1 - 0 error(s), 0 warning(s)

0 Kudos
Steven_L_Intel1
Employee
3,038 Views
I don't see that the linker is set to enable debugging and there's this "/qnoipo" switch in there which does not belong.
0 Kudos
fridman__sergey
3,038 Views
I don't see that the linker is set to enable debugging and there's this "/qnoipo" switch in there which does not belong.
I checked all project properties related to debugging and set them appropriately (full debug info, etc.), also disabled optimization in Fortran settings. It did not help.
For what it worth here is what helped. In VS I went to build>configuration manager and removed x64 platform of the project using option of the project platform drop-down list. Then I reinstated the x64 platform using option of the project platform drop-down list. The crucial thing is to make sure that in the "New Project Platform Window" the item "Copy settings from:" is set to "Win32". After that x64 debugger works OK. Setting the item "Copy settings from:" to its alternative value of "" seems to irrevocably disable writing of debug information.

0 Kudos
Steven_L_Intel1
Employee
3,038 Views
Good. It may be that you missed that the Linker property pages have a Debug setting as well as the compiler.
0 Kudos
ketakimd
Beginner
3,038 Views
Quoting - ISN Admin
Hi,
I am a new user of Intel VF - until now, I used Compaq VF 6.6c.
I am trying to understand the differences in the two environments, and especially those necessary to create 64-bit executables from my old Fortran sources - which worked fine under CVF in 32-bit. My problem is, When I try to debug the program, I get the following error message:

'Unable to start program "..."'.
The components for the 64-bit debugger are not registered. Please repair your Visual Studio 2005 Remote Debugger installation via 'Add or Remove Programs' in Control Panel."

Notice that the same source code can be debugged when the platform is set at 32-bit.
I run Windows XP 64-bit on a dual quad-core HP workstation. My system is updated, and I haven't been able to find any help elsewhere. Has anybody else encountered this error message?

0 Kudos
ketakimd
Beginner
3,038 Views
Good. It may be that you missed that the Linker property pages have a Debug setting as well as the compiler.

I am getting a similar message for the VIsual Studio 2008C# Application.
Any idea how can i fix it?
0 Kudos
Steven_L_Intel1
Employee
3,038 Views
Quoting - ketakimd

I am getting a similar message for the VIsual Studio 2008C# Application.
Any idea how can i fix it?
There's lots of issues discussed in this thread. What exactly is the message? And are you using Intel Visual Fortran?
0 Kudos
ketakimd
Beginner
3,038 Views
I am getting this message with Visual Studio 2008 for C# application:-

'Unable to start program "..."'.
The components for the 64-bit debugger are not registered. Please repair your Visual Studio 2005 Remote Debugger installation via 'Add or Remove Programs' in Control Panel."

And no, i am not using Intel Visual Fortran
0 Kudos
Steven_L_Intel1
Employee
3,038 Views
Ok. Please understand that this forum is for support of Intel Visual Fortran and not general support for Microsoft products. I am somewhat confused that you say you are running VS2008 but the error message says VS2005. I also assume you are trying to debug on a 64-bit system.

Microsoft has an article explaining how to install the 64-bit debugger for VS2008 here. Normally, this support is installed by default when installing on a 64-bit system.

I hope this helps.
0 Kudos
Reply