Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

Visual Studio cannot debug because <x> is not an EXE file

I am trying to port a compaq FORTRAN app to Intel v11.  No compilation error, the app runs from the cmd prompt.  There was a topic that is now closed but looked similar.  No luck.

Help would be appreciated

0 Kudos
7 Replies
Highlighted
Valued Contributor II
27 Views

So what is the problem?

0 Kudos
Highlighted
Beginner
27 Views

I cannot debug the app.  I uploaded a screen capture of the message.

0 Kudos
Highlighted
Valued Contributor III
27 Views

Do a full rebuild and post the buildlog (a html file) which will show what has happened.

 

0 Kudos
Highlighted
Beginner
27 Views

I already tried but saw nothing obviously wrong. Log attached with txt extension.

0 Kudos
Highlighted
Employee
27 Views

So it does not run under the VS IDE with either Debugging or Without Debugging?

Any possible settings under Properties > Debugging > Command that might be at play?

0 Kudos
Highlighted
Beginner
27 Views

Nope.

I just tried a test program (same default settings) that uses the same libraries (that I suspected could give me trouble) but it works fine.  It looks like VS is choking on the size or complexity of the app.

0 Kudos
Highlighted
27 Views

It is, quite likely, too big.

I see that you are using /libs:static.   Can you try linking against the DLL libraries instead?  That should make your executable smaller.

                          --Lorri

0 Kudos