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,
Phil
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.)
pwm - 25 Jan 2007 19:01 GMT
> According to your description, I understand that you noticed that
> devenv.exe consumes 50% CUP when you enable navigation bars in the options.
Yes.
> 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
[quoted text clipped - 4 lines]
> 1.Will you still encountered this issue if you create a simple project
> (such as new project).
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?
> 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.
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
pwm - 25 Jan 2007 19:07 GMT
> Hi Phil,
>
[quoted text clipped - 6 lines]
> project is very complex, Visual Studio will take a long time to generate
> real time navigation for you.
I saw a similar post for C# at
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=169791&SiteID=1
WenYuan Wang - 26 Jan 2007 09:31 GMT
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
pwm - 01 Feb 2007 14:50 GMT
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
> Hi Phil,
> Thanks for your reply.
[quoted text clipped - 18 lines]
> Best regards,
> Wen Yuan
WenYuan Wang - 02 Feb 2007 04:14 GMT
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
WenYuan Wang - 30 Jan 2007 12:27 GMT
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