.NET Forum / Languages / Managed C++ / May 2006
Intellisense blocking our machines
|
|
Thread rating:  |
Hendrik Schober - 22 May 2006 16:08 GMT Hi,
as of last Friday VC8's intellisense started to completely block one CPU (our developer machines have two) without getting anywhere. This is a 1.2MLOC solution with 28 projects. We have already found http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=5b68a e70-03ea-47b6-84ea-d18cafc735ff which mentions deleting NCB files as a workaround. That doesn't work here. Then there's http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=71c17 9fb-d843-4b6a-bdde-72c9550a8a55 which mentions VS Hotfix 4082 which can be obtained from Product Support.
So I went to support.microsoft.com, opted for email support, logged into passport, picked "Visual Studio 2005" as the app I am using, and meant to start describing my problem. However, first this web page wants a product ID. But where do I get this from? (There are instructions regarding this on the website, but they must have been written for some other set of products, as they seem to not to apply to VS2005.) I went to Help/About but didn't find anything which passes for a Product ID. (This is VS2005 Pro which I got from an MSDN subscription, in case that's important.)
Darn, why does it always have to be so hard to report a bug and/or get a fix?
Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Bo Persson - 22 May 2006 16:42 GMT > Hi, > [quoted text clipped - 26 lines] > > Schobi It is mentioned here
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=132651&SiteID=1&PageID=2
that one of the problems is with using typedefs to move global names into a namespace, like
namespace myspace { typedef ::sometype sometype; }
This kills IntelliSense!
On the other hand
namespace myspace { using ::sometype; }
seems to work. At least it fixed a similar problem for me.
Bo Persson
Hendrik Schober - 23 May 2006 09:30 GMT > [...] > It is mentioned here [quoted text clipped - 19 lines] > > seems to work. At least it fixed a similar problem for me. Nice find, but we're not going to go through 1.2MLOC (1/3 of which isn't even our own) to find such code and change it. (We'd have to defer shipping for that.) And it's not even sure it will fix the problem! I think we'd rather go back to using VS2003.
> Bo Persson Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Bruno van Dooren - 22 May 2006 17:13 GMT > as of last Friday VC8's intellisense started to completely block > one CPU (our developer machines have two) without getting anywhere. > This is a 1.2MLOC solution with 28 projects. If Bo's suggestion does not work and you are blocked, you could always try the visual assist plugin from http://www.wholetomato.com/ Several people on this forum are using it to solve their intellisense problems.
To report / search for bugs online you can go here: http://lab.msdn.microsoft.com/ProductFeedback/
Intellisense is like a box of chocolates. you never know what you are going to get ;-)
 Signature Kind regards, Bruno van Dooren bruno_nos_pam_van_dooren@hotmail.com Remove only "_nos_pam"
Hendrik Schober - 23 May 2006 09:31 GMT >> as of last Friday VC8's intellisense started to completely block >> one CPU (our developer machines have two) without getting anywhere. [quoted text clipped - 4 lines] > Several people on this forum are using it to solve their intellisense > problems. We all use it and are happy about it. Definitly recommended. But I don't see how it could help here.
> To report / search for bugs online you can go here: > http://lab.msdn.microsoft.com/ProductFeedback/ It's already reported twice at least. I need a /fix/ ASAP.
> [...] Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Bruno van Dooren - 23 May 2006 12:01 GMT >> If Bo's suggestion does not work and you are blocked, you could always >> try [quoted text clipped - 4 lines] > We all use it and are happy about it. Definitly recommended. > But I don't see how it could help here. I thought it replaced the original intellisense. seems I was wrong. I have never used it. hence my mistake.
did you see this btw: http://msdn2.microsoft.com/en-us/library/ms235519(VS.80).aspx don't know if it will help, but I just stumbled across it. the only other option would be to disable intellisense, but I don't know it it disables it completely, or only the statement completion part.
 Signature Kind regards, Bruno van Dooren bruno_nos_pam_van_dooren@hotmail.com Remove only "_nos_pam"
Hendrik Schober - 23 May 2006 12:41 GMT > [...] > did you see this btw: > http://msdn2.microsoft.com/en-us/library/ms235519(VS.80).aspx > don't know if it will help, but I just stumbled across it. > the only other option would be to disable intellisense, but I don't know it > it disables it completely, or only the statement completion part. No, I hadn't seen this. However, it doesn't help either. In case it doesn't help, it refers to PSS. Back to square one...
<sigh>
I might just have to make that call. Which is really stupid. I bet that email support is quite a bit cheaper for MS...
Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Sean M. DonCarlos - 23 May 2006 13:04 GMT > > If Bo's suggestion does not work and you are blocked, you could always try > > the visual assist plugin from http://www.wholetomato.com/ [quoted text clipped - 3 lines] > We all use it and are happy about it. Definitly recommended. > But I don't see how it could help here. Go into the Visual Assist options, and in the Listboxes section, make sure the box "Get content from default Intellisense" is unchecked. As the Whole Tomato marketing gods have given me to believe, this will shut off the C++ Intellisense and cause Visual Assist to use only its own parsers, resulting in IDE performance increases and other goodness.
It seems to work for me, although the largest solution I deal with is "only" 400K LOC.
Sean
Hendrik Schober - 23 May 2006 13:12 GMT >> > If Bo's suggestion does not work and you are blocked, you could always try >> > the visual assist plugin from http://www.wholetomato.com/ [quoted text clipped - 12 lines] > It seems to work for me, although the largest solution I deal with is "only" > 400K LOC. Thanks, I've tried that. I've also gone through the options and disabled anything looking like it might use Intellisense. Doesn't help here. :(
> Sean Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Carl Daniel [VC++ MVP] - 22 May 2006 17:22 GMT > So I went to support.microsoft.com, opted for email support, logged > into passport, picked "Visual Studio 2005" as the app I am using, [quoted text clipped - 6 lines] > (This is VS2005 Pro which I got from an MSDN subscription, in case > that's important.) The product ID's are listed in the listbox that's embedded in the Help|About for VS2005 (and 2003 and 2002, IIRC). It should look something like:
Microsoft Visual C++ 2005 #####-###-#######-#####
I'm looking at VS2005 Team Suite, but I believe the About box in Pro should look the same - just with fewer installed options showing.
... or do you mean that you tried the product IDs there and none of them worked? If so, I'd call PSS.
-cd
Hendrik Schober - 23 May 2006 09:42 GMT >> So I went to support.microsoft.com, opted for email support, logged >> into passport, picked "Visual Studio 2005" as the app I am using, [quoted text clipped - 14 lines] > I'm looking at VS2005 Team Suite, but I believe the About box in Pro should > look the same - just with fewer installed options showing. I was afraid that would be the case. I already tried this often enough to by now knowing it by heart. Doesn't work. (Translated from German which that website insists to use with me: "The Product ID you entered is for and not for Visual Studio Professional..." Yes, there's a noun missing. No, I didn't forget is. That's what that website tells me.)
> ... or do you mean that you tried the product IDs there and none of them > worked? If so, I'd call PSS. You mean "call" as in "phone"? Ah, the joy of trying to get a telephone support person to get me somone who will actually understand what I am talking about... I really, really, really tried to avoid that!
<rant> I am really, really, really <censored> off about this "Support". I feel like my mum if she would ever try to report a bug, not like a developer who's used to /give/ support to users. </rant>
> -cd Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Hendrik Schober - 23 May 2006 18:31 GMT > Hi, > [quoted text clipped - 22 lines] > Darn, why does it always have to be so hard to report a bug and/or > get a fix? As the product IDs I tried (those of mine and my co-worker's installations) didn't work, I finally called PSS as Carl did suggest. <sigh> It was just as I had expected. The guy on the phone wanted a KB ID for the hotfix, otherwise he couldn't get it. He seemed to have never heard of the lab.msdn.microsoft.com site. I sent him to it and pointed out the answer mentioning the hotfix. Then I had a lot of time listening to music until he got back to me telling me the way to get the hotfix is to add a comment to the bug details. I voiced my concerns whether this would be helpful, but in the end I gave in and tried. Now we sit here and wait for someone to actually read the comment, digest it, respond, and send us the fix. All this while VS is blocking one out of two CPUs and can't be closed, but must be shot via the task manager. This is rather pathetic.
Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Carl Daniel [VC++ MVP] - 23 May 2006 19:27 GMT > Now we sit here and wait for someone to actually read the > comment, digest it, respond, and send us the fix. All this > while VS is blocking one out of two CPUs and can't be closed, > but must be shot via the task manager. This is rather pathetic. I've asked that someone on the VC++ team look into this - hopefully they'll be able to locate the ellusive KB article number.
In the meantime, you can delete/rename feacp.dll in the ../bin directory to disable intellisense for C++ - that might be better than having your CPU spinning all the time.
-cd
Boris Jabes [MSFT] - 24 May 2006 02:12 GMT > > Now we sit here and wait for someone to actually read the > > comment, digest it, respond, and send us the fix. All this [quoted text clipped - 9 lines] > > -cd Carl brought this to our attention,
First of all, we should certainly apologize for the confusion with regards to getting product support to provide you with the hotfix in question. While all these hotfix numbers alias something unique, we often don't realize that support does not use the same alias as the product team. In any case, there are two hotfixes that address the issues that have been brought up in this thread.
One if VS QFE 3991 (bug causing infinite parsing due to some typedef code) and the other is QFE 4082 (lowering thread priority of Intellisense). The KB numbers for these hotfixes are 913377 and 916769 respectively. These KB numbers should be sufficient for product support to give you these fixes.
Once again, our apologies for the difficulties and we hope these fixes will be useful. If they are not, please log bugs at our product feedback center indicating these hotfixes were insufficient and outlining something we can reproduce on our end.
Thanks,
 Signature Boris Jabes, Visual C++ Team This posting is provided "AS IS" with no warranties, and confers no rights
Hendrik Schober - 29 May 2006 10:10 GMT >> > Now we sit here and wait for someone to actually read the >> > comment, digest it, respond, and send us the fix. All this [quoted text clipped - 7 lines] >> disable intellisense for C++ - that might be better than having your CPU >> spinning all the time. Thanks. Some of us already did this.
>> -cd > > Carl brought this to our attention, Yes. As always, Carl has been very helpful. Thanks, Carl!
> First of all, we should certainly apologize for the confusion with regards > to getting product support to provide you with the hotfix in question. While > all these hotfix numbers alias something unique, we often don't realize that > support does not use the same alias as the product team. I don't think there's a need for you to apologize for some German support departement. I don't even want to blame them. It's just that somehow I knew that calling support would be a waste of time. -- WHich is why I posted here.
> In any case, there > are two hotfixes that address the issues that have been brought up in this [quoted text clipped - 9 lines] > indicating these hotfixes were insufficient and outlining something we can > reproduce on our end. Thanks. I called support again and, providing the KB numbers, this time I hopefully will get those hotfixes. Let's see if they help.
Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Hendrik Schober - 29 May 2006 16:58 GMT > [...] > Once again, our apologies for the difficulties and we hope these fixes will > be useful. If they are not, please log bugs at our product feedback center > indicating these hotfixes were insufficient and outlining something we can > reproduce on our end. Boris,
I have installed both hotfixes and they do not help. :( I have logged a new bug as you suggested: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?FeedbackId=b0eaf dde-a115-4466-b19e-c0f068cb1b28
Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Carl Daniel [VC++ MVP] - 25 May 2006 18:16 GMT > Hi, Did you get the two hotfixes? Did they help?
-cd
Hendrik Schober - 29 May 2006 10:33 GMT >> Hi, > > Did you get the two hotfixes? Did they help? Hi Carl,
Sorry for the delay. Thu was a holiday here, and I had Wed and Fri off.
Thanks to your and Boris' help I have been able to make some progress. I got the hotfix mentioned in KB913377 (bug causing infinite parsing due to some typedef code). Unfortunately /this hotfix does not help/. I still get the "Updating Intellisense..." message in the status bar and the progress bar gets stuck at 3 LEDs. The hotfix from KB916769, which I am still waiting for, lowers the priority of the Intellisense thread. While it might give some relieve, I don't see how it can fix the underlying problem that Intellisense parses endlessly. (We have already found that it doesn't finish even over night.)
<sigh>
We might have to give up on Intellisense altogether.
> -cd Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Carl Daniel [VC++ MVP] - 30 May 2006 19:06 GMT > Carl Daniel [VC++ MVP] <cpdaniel_remove_this_and_nospam@mvps.org.nospam> > wrote: [quoted text clipped - 22 lines] > > We might have to give up on Intellisense altogether. Sorry it didn't fix the problems you're seeing - sounds like there's still another infintie parse bug in feacp. Intellisense has come a long way, but it's still just not quite there, unfortunately.
-cd
Hendrik Schober - 31 May 2006 09:36 GMT > > Carl Daniel [VC++ MVP] <cpdaniel_remove_this_and_nospam@mvps.org.nospam> > > wrote: [quoted text clipped - 17 lines] > Sorry it didn't fix the problems you're seeing - sounds like there's still > another infintie parse bug in feacp. I got some news regarding this. Since this only started a while ago, and since working without Intellisense is a PITA once you're used to it, we had someone find the specific checkin causing this using binary approximation. It took a whole day, but turned out to be a 'typedef' issue that obviously was /not/ fixed by the KB913377 hotfix (which I understood to adress such an issue). We changed the code and now it again works. Until someone again checks in something that trips it up... We're trying to find the time to boil the code down to a repro sample. If we succeed, I'll add it to the bug http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?FeedbackId=b0eaf dde-a115-4466-b19e-c0f068cb1b28 that I reported. However, I suppose it will be rather hard to do that. We have a lot of similar 'typedef's in our code which do not cause Intellisense to fail. So it must be something really special about this one that might be hard to capture.
> Intellisense has come a long way, but > it's still just not quite there, unfortunately. Maybe. We had, unfortunately, just a few days to use it, then it blew up. So I can't comment on this.
> -cd Schobi
 Signature SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org
"The sarcasm is mightier than the sword." Eric Jarvis
Free MagazinesGet these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...
|
|
|