Welcome to Intel® Software Network Quick Login | Join | Help |
Search in Intel® Software Network Forums
in Go

debugger freezing Visual Studio

Last post 07-01-2008, 7:05 AM by Sabalan. 13 replies.
Sort Posts: Previous Next
 05-01-2008, 3:18 AM 30253871  

debugger freezing Visual Studio

Dear Fortran Friends!

For a couple of years I am experiencing the same problem with the debugger in Developer Studio (Digital/Compaq Visual Studio) and Visual Studio 2003 and 2005 (Intel Visual Fortran v8, v9):

When stepping through a Fortran app in the debugger, sometimes VS "hangs" and the task manager shows me that VS is consuming almost 100% of CPU time, but VS doesn't respond anymore to my actions. Sometimes VS reports an error that it cannot return from an "internal operation".
I had a customer who told me that he experienced the same and that he could step further in his app after waiting for more than 10 minutes. I never had that much patience. So I always killed VS and started anew.

However today, within the last hour I had to kill and re-start VS more than 10 times, and now I am fed up.

Does anyone has some help for me (I am still using VS2005 w/SP1 and IVF 9.1.3375.2005)?

Does the problem still exist with IVF v10.0 or IVF v10.1?

Does it help to change to VS2008?

By the way,  a couple of customers are reporting the same VS/debug behaviour, I wonder whether this has ever been discussed here.

Jörg Kuthe
www.qtsoftware.de

 
 05-05-2008, 12:24 PM 30254124 in reply to 30253871  

Re: debugger freezing Visual Studio

I've never encountered a problem like that myself and don't recall hearing before of a customer seeing it.  I have seen issues caused by misbehaving virus or other program-monitoring software.  Sometimes I suggest booting Wimdows into "Safe Mode" and seeing if you can reproduce the problem.

I doubt that this is a problem tied to the compiler version.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-06-2008, 8:39 AM 30254203 in reply to 30253871  

Re: debugger freezing Visual Studio

What was the code doing when it hung up?  I think I remember having a problem of this sort if I tried to single-step through code containing a large array operation. Something like:

A = 0.0

where A is a good sized 2-d array.

In my case, the cure was to avoid stepping through the code. Instead I'd use breakpoints, or "run to cursor".

 
 05-06-2008, 9:59 AM 30254208 in reply to 30254203  

Re: debugger freezing Visual Studio

I know that stepping over a statement with an array operation can keep the processor / debugger quite busy. But the bug I experience happens randomly.
Unfortunately, I have not the slightest idea what could be the reason for this debugger fault.

But again, it appears to me that I have to repeat what I have said:

I have been working with Digital, Compaq and Intel Visual Fortran for about a decade now.
And I have used a couple of various PCs running Win95, Win98, NT and XP.
I am working on customers' sites too. They have their own PCs, their own virus scanners etc. and their own CVF/IVF licences.
My company has been a Digital Fortran and a Compaq Fortran reseller and now is an Intel software reseller for quite a while. Because of this I hear from customers complaining about the debugger. They encounter the same problem: the Visual studio debugger tends to "hang up" and VS stops responding. The last error message we see is, that VS is busy and cannot return from an "internal operation".

Steve, if you have never encountered that problem you are lucky. I can reproduce this behaviour on any machine I am running VS2003/5 and IVF (or CVF) on by just starting a debugging session. Sometimes it takes a couple of minutes until the debugger "hangs up", but it happens. It might be that this is problem occurs only on PCs equipped with the German Windows version, but I can hardly believe this.

So, I hope you believe me know that there is a problem with the debugger.

It also might help that other users that experience the same problem second me.

 
 05-07-2008, 12:02 AM 30254259 in reply to 30254208  

Re: debugger freezing Visual Studio

I´ver never had debugging problems with VS2008 and IVF10.1 so far. My Windows is a german XP and VS2008 is the english version.

I´ve only had a non responding VS6 CVF6.6 system when I used the mouse scroll from time to time. That was very annoying.

Markus

 
 05-07-2008, 1:59 AM 30254269 in reply to 30254259  

Re: debugger freezing Visual Studio

I experience the freezing problem with CVF sometimes (German version of VS and Windows). I am not sure if the use of the mouse wheel is influencing that behavior, but it could be possible. Some years ago I got the advice from Compaq (or still DEC) to cure the problem by exiting VS and deleting the .opt file in the project folder. IVF has no .opt file, but the fact I was looking for it lets me assume that I had the freezing problem in IVF as well.
 
 05-07-2008, 6:35 AM 30254297 in reply to 30254269  

Re: debugger freezing Visual Studio

The equivalent of the .opt in VS2002 and later is the .sou file.  It is a hidden file so you may need to reveal it.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 05-07-2008, 7:51 AM 30254306 in reply to 30254269  

Re: debugger freezing Visual Studio

There was a brief mention of something similar by myself and Jim Dempsey back in January
see : "Mysterious run time error with IVF 9.0"
http://softwarecommunity.intel.com/isn/Community/en-US/forums/thread/30246404.aspx

It seems to be an intermittent problem with Visual Studio (devenv)

Les

 
 06-26-2008, 6:57 AM 30257701 in reply to 30254306  

Re: debugger freezing Visual Studio

Hi Jörg,

did you find a solution for your problem? Yesterday I got a new machine and now VS2008 with IVF10.1 stops responding while debugging. Very annoying!

Markus

 
 06-30-2008, 1:57 AM 30257880 in reply to 30257701  

Re: debugger freezing Visual Studio

Hello Markus,

thank you asking.
No, I still have the problem that the debugger in VS (2005, english version) hangs up sometimes. I have switched to v10.1.021 meanhwile (32-Bit, WinXP 2SE), but the problem did not vanish. Also, I still don't see any regularity in the cirumstances when this crash happens and have no idea what could be the reason.

Joerg Kuthe
www.qtsoftware.de

 
 06-30-2008, 7:22 AM 30257898 in reply to 30257880  

Re: debugger freezing Visual Studio

This sounds to me as a typical ctfmon.exe problem. Search this forum for ctfmon.exe and then Google it. Maybe your problem will be solved.

 

Sabalan

 
 07-01-2008, 2:27 AM 30257970 in reply to 30257898  

Re: debugger freezing Visual Studio

Hello,

I do have the same experience .
It happens for me on:
- CVF 6.6b
- IVF 9.0,9.1,10 and 10.1 in combination with VS 2003 and VS2005 (both  German)
based on Win XP Prof German.

Frank


 
 07-01-2008, 5:47 AM 30257982 in reply to 30257970  

Re: debugger freezing Visual Studio

I agree with Sabalan that the "Language Bar" (ctfmon.exe) is very likely to blame.  It has this effect on many applications.  Disabling the "Language Bar" feature usually resolves such problems.

Steve

Doctor Fortran: intel.com/software/drfortran
 
 07-01-2008, 7:05 AM 30257988 in reply to 30257982  

Re: debugger freezing Visual Studio

Steve,

 

I am afraid that it is not enough to disable the language bar and you are still going to see ctfmon.exe running in the background in the task manager . Ctfmon.exe has to do with “advanced text services” and should be deactivated through Control Panel. You disable the language bar by deactivating the "advanced text services" (ctfmon.exe) but you do not deactivate ctfmon.exe by right-clicking on the language bar and disabling it.

 

Those who have the problem described in this thread: See e.g. here for a short description about what ctfmon.exe does and how to disable it.

 

Sabalan

 
View as RSS news feed in XML

Shortcuts


Tags For This Post

...

Community Tags

...