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

Visual Studio 2022 debug fails to start

dajum81
New Contributor I
452 Views

In Visual Studio I just stopped being able to debug.  It gives the unhelpful message:

dajum81_0-1731344804224.png

Which I would guess means it isn't finding a dll.  I suspect libifcoremdd.dll because if I run it in just a standard cmd prompt window that is what happens. But I don't have my standard configuration set to run any particular version because I need to run several.  Pretty sure when you pick a version of the compiler to execute in VS it sets the right environment for that compiler.  Does it no longer do this when debugging?  

Is there a method to see what the environment it is using will be inside visual studio debugging session?  I know I could get it from my program, but it won't run.  

I don't want to set the PATH to include any specific version.  

TIA

Dave

0 Kudos
3 Replies
RomanSh
Beginner
323 Views

Can you try the following.  Open project properties.  Choose:

Debugging - Merge Environment - No

 

dajum81
New Contributor I
319 Views

@RomanSh

Well that worked!  But I sure don't understand it.  The documentation says it controls if the Environment box is added to the system variables.  Which I really need it to be.  But it is a variable only used by my program so why it would affect the loading of my executable is incomprehensible to me.  Any explanations welcome.  Also still hoping to understand how to look at the environment without my program loading.

0 Kudos
RomanSh
Beginner
314 Views

I should have mentioned previously that I had a similar problem, and I found the answer in

https://www.intel.com/content/www/us/en/developer/articles/troubleshooting/0x80070057-error-in-intel-fortran.html

 

 

Reply