all groups > visual studio .net ide > january 2007 >
You're in the

visual studio .net ide

group:

VS 2005 sp1 c++ navigation bars cpu usage


VS 2005 sp1 c++ navigation bars cpu usage pwm
1/24/2007 2:27:01 PM
visual studio .net ide:
I am using Visual Studio 2005 SP1 for unmanaged C++ development. If I
enable C/C++ navigation bars in the options->editor page, then devenv
continually consumes 50% cpu whenever the cursor is in a text editor for
a C++ file. I have let devenv do this overnight and the cpu usage never
reallyy decreased. I would like to keep the navigation bars enabled
because they are a handy way to browse code. Is there a workaround that
will make the cpu usage less? Is this a known bug in a MS bug list?

Thanks,
RE: VS 2005 sp1 c++ navigation bars cpu usage v-wywang NO[at]SPAM online.microsoft.com
1/25/2007 12:41:19 PM
Hi Phil,

According to your description, I understand that you noticed that
devenv.exe consumes 50% CUP when you enable navigation bars in the options.
If I misunderstand anything here, please don't hesitate to correct me.

I checked Bug list for this issue, but I haven't get any record on it.
Base on my experience, this issue is related to your project. If your
project is very complex, Visual Studio will take a long time to generate
real time navigation for you.
In order to narrow down the issue, would you mind confirming some
information with us?
1.Will you still encountered this issue if you create a simple project
(such as new project).
2. Have you installed any third-party add-ins on your VS.net 2005 IDE.
Add-in will also cause High CPU if this add-ins work with VS navigation
bars.

Please feel free to reply me if you have anything clear.
Hope this will help!
Best regards,
Wen Yuan
Microsoft Online Community Support
===============================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
===============================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Re: VS 2005 sp1 c++ navigation bars cpu usage pwm
1/25/2007 2:01:07 PM
[quoted text, click to view]
Yes.

[quoted text, click to view]

I have not tried this. What is simple or complex? Any solution and
project of value will have more in it than a new project. At what point
does a solution/project become complex?


[quoted text, click to view]

I uninstalled all add-ins and got the same behavior. Back to your other
point, how long does it take? I let devenv run overnight (about 10
hours) for a solution with about 15 C++ projects (not what I would
consider complex) and it continued to use 50%.

Any other help is appreciated.

Thanks,
Phil
Re: VS 2005 sp1 c++ navigation bars cpu usage pwm
1/25/2007 2:07:58 PM
[quoted text, click to view]

I saw a similar post for C# at
Re: VS 2005 sp1 c++ navigation bars cpu usage v-wywang NO[at]SPAM online.microsoft.com
1/26/2007 9:31:41 AM
Hi Phil,
Thanks for your reply.

What I mean by "complex" is the complexity of project, such as how many
class and methods include in your solution. Because the "Navigation Bar"
will generate the list according to your class and project dynamically, if
we have a large mount of project/class/method/ in solution, "Navigation
Bar" should take a long time to generate the list. I apologies for the
inconvenience this may have caused.
Thanks again for your information. According to Karen said, the way to
resolve this issue is disabling the "Navigation Bar". But would you mind
sending your project to me if it is possible.
If I can reproduce this issue on my machine, I will perform more research
on this issue and check whether or not there is workaround, and also I will
send mail to our product team on this issue.

My alias is v-wywang@microsoft.com.

Please feel free to reply me if you have anything unclear or concern on
this.
Best regards,
Wen Yuan
Re: VS 2005 sp1 c++ navigation bars cpu usage v-wywang NO[at]SPAM online.microsoft.com (
1/30/2007 12:27:27 PM
Hi Phil,

I haven't heard back from you yet and I'm just writing in to see if you
have any further question. If you could get back to me at your earliest
convenience, we will follow up. I'm very glad to work with you.

Have a great day!
Best Regards,
Wen Yuan
Re: VS 2005 sp1 c++ navigation bars cpu usage pwm
2/1/2007 9:50:37 AM
Unfortunately, it is not possible for me to send my project to you. Am
I the only one who has ever had problems with the navigation bars with C++?

Thanks,
Phil

[quoted text, click to view]
Re: VS 2005 sp1 c++ navigation bars cpu usage v-wywang NO[at]SPAM online.microsoft.com (
2/2/2007 4:14:19 AM
Hi Phil,
Thanks for your reply.

I'm really sorry to hear that you're having such a painful experience with
Navigation Bar. We haven't met this issue before. It seems the performance
of "navigation bar" is related to the complexity of the project. If it's
not possible for you to send the project to me, we suggest you create a new
solution and add each project into this solution and determine which
project will cause the high CPU problem with Navigation Bar.

Hope this will help.
Best Regards,
Wen Yuan
AddThis Social Bookmark Button