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

Debugging crashes Visual Studio

dannycat
New Contributor I
1,437 Views
I have experienced the following problem on various computers so it should be repeatable on any machine.

When I run my FORTRAN application and it stops at a breakpoint and then select an array variable (by highlighting using the right mouse button) VS freezes, the application freezes and the only way out is to kill both devenv.exe and the applicationn.exe using task manager.

egIn the line id= em(i)%n(j) if I highlight 'em(i)%n' and right click Visual Studio crashes.
[cpp]

I got used to this method of "watching" variables in CVF and I still do this even though I know that it will crash the system.

Is this an issue to be taken up with Microsoft or is it something that Intel engineers would be able to address?
[/cpp]
0 Kudos
5 Replies
jimdempseyatthecove
Honored Contributor III
1,437 Views

What version of IVF?
What version of VS?

Have you tried reinstalling?
0 Kudos
nvaneck
New Contributor I
1,437 Views

What version of IVF?
What version of VS?

Have you tried reinstalling?

I get random crashes with VS 2005 and Version 10.1; Started with Vista, I think, and continues in Windows 7. I've learned to live with it; just have to restart and move on. It's annoying, but there seems no solution.
0 Kudos
dannycat
New Contributor I
1,437 Views
I'm running Visual Studio 2008 and IVF 11.1.035 (although the same problem occured on earlier IVF versions) on Vista. We users should not have to put up with these problems and it is in all our interests to flag them up so that there is a chance that someone can resolve them. The software (VS & IVF) is very expensive, particularly for a single user like myself,and is supported byby large teams and I'm sure they don't wish to annoy customers by ignoring bugs and faults. I've had IVF now for over a year and I'm still not comfortable moving on to it from CVF because of such "annoying" issues within the latest VS. This is just one of those which is particularly painful when it keeps happening. For example during a debugging session it could take half a hour the reach the point where you wish to examine some variables and as I use user defined data structure extensively I often need to examine the contents of their components. If I want to Add Watch on an array component like I did in VS6/CVF there is this pause where I realise what I've done again. The screen goes feint and everything stops. The only way out is to kill the VS and the Application processes and start out all over again. (1 hour wasted!).

I have mentioned other VS issues in past posts but no one seems to be interested. I suppose the difficulty is that the problem could be with VS itself or with the IVF integration and each party will naturally assume that the other should deal with it.

Perhaps the new verson of VS will be the solution but it is the case of "better the devil you know" for me at the moment.

0 Kudos
Steven_L_Intel1
Employee
1,437 Views

I'm sorry to hear about these problems, but they are not common. It's not something I've ever experienced in the extensive use I make of the compiler and the VS environment, and I don't see it as a frequent or even occasional complaint in support issues. I don't doubt you are experiencing this, and any help you can provide in isolating the issue would be welcome.

I might suggest starting with a "Safe Mode" boot and seeing if the errors persist. If they go away, that suggests that some background process is interfering with Visual Studio. If that doesn't help, then try a complete uninstall of Fortran and VS, delete the Visual Studio folder, then reinstall everything.

If you have ctfmon.exe running in the background, stop it and prevent it from starting with Windows (this is the MS Office Language Bar.)
0 Kudos
nvaneck
New Contributor I
1,437 Views

I'm sorry to hear about these problems, but they are not common. It's not something I've ever experienced in the extensive use I make of the compiler and the VS environment, and I don't see it as a frequent or even occasional complaint in support issues. I don't doubt you are experiencing this, and any help you can provide in isolating the issue would be welcome.

I might suggest starting with a "Safe Mode" boot and seeing if the errors persist. If they go away, that suggests that some background process is interfering with Visual Studio. If that doesn't help, then try a complete uninstall of Fortran and VS, delete the Visual Studio folder, then reinstall everything.

If you have ctfmon.exe running in the background, stop it and prevent it from starting with Windows (this is the MS Office Language Bar.)

FYI, debugging 64-bit stuff doesn't always work very well; ignoring breakpoints, other stuff. So I've learned to debug in 32-bit mode; it's much more reliable. I've had this in WIn 7 since start-up wioth very little else loaded as I installed WIn 7 clean.

None of the stuff I get is reproducible, so I just let MS collect stuff every now and then and tell me there is no solution.
worst thing besides lost time is VS doesn't remember the project and current open files...

No ctfmon.exe is running.
0 Kudos
Reply