Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / November 2005

Tip: Looking for answers? Try searching our database.

[repost] VS2005 IDE unresponsive during C++ builds

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Johan Nilsson - 15 Nov 2005 08:31 GMT
[reposted using recognized no-spam alias]

Hi,

I've installed VS.NET 2005 RTM and converted an old VS.NET 2003 C++ project
just to try it out.

However, to my big disappointment, it is almost impossible to edit code
during project builds due to the IDE being totally (well, 95%) unresponsive.
Simply scrolling down one page in the C++ code takes in the order of several
seconds, the same goes for trying to open a menu (e.g. Tools), switching
back and forth between the IDE and other programs results in large parts of
the IDE not being repainted for several seconds as well.

This makes VC8 virtually unusable for me. I've had no such bad experiences
from using VC7.1 on the very same machine.

FYI I'm running the IDE's on a 2-way SMP machine (WinXP Pro SP2), so I tried
to disable parallel builds to see if that changed things - but it did not
(actually I'm pretty glad for that, as I've been waiting for parallel build
support for years).

Anyone out there with similar experiences - are there any settings or tweaks
that could help alleviate the problem?

// Johan
"Gary Chang[MSFT]" - 15 Nov 2005 12:53 GMT
Hi Johan

>Anyone out there with similar experiences - are there
>any settings or tweaks that could help alleviate the problem?

Do you have such problem if you work with a genuine VC8 project(generated
by the VC8 project wizard) or with a simple VC7 project(a simple console
"hello World" application generated by the VC7 wizard)?

There may be something corrupted in your upgraded VC7 program, the VS2005
IDE will have some problems when attempting to parse it...

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
Johan Nilsson - 15 Nov 2005 14:04 GMT
> Hi Johan
>
[quoted text clipped - 4 lines]
> by the VC8 project wizard) or with a simple VC7 project(a simple console
> "hello World" application generated by the VC7 wizard)?

A wizard generated application takes much too short time to compile to use
as a base for comparisons.

I've done some more testing, and it seems like VC8 is much more sensitive to
the amount of output generated by the CL compiler. The project I tried to
upgrade to 8.0 is a legacy C project with some 100k LOC, and generates a
very large amount of warnings when compiling at warning level 4. The VC7.1
environment is nowhere near as sluggish as VC8 under the same conditions
(including warning level).

Personally I don't accept warnings at all for my projects, but this one is
an import of a rather large legacy project for which I have very little time
to get going.

I can actually get much better responsiveness from the VC8 IDE if I simply
disable the warnings that originate from the worst offenders, but it's not a
way I feel good about. I need the compiler to nag at me to eventually make
me fix the culprits ...

// Johan
"Gary Chang[MSFT]" - 16 Nov 2005 11:48 GMT
Hi Johan,

>I've done some more testing, and it seems like VC8 is  
>much more sensitive to the amount of output generated
>by the CL compiler. ...

I am delight to know you have already found the root cause of this issue,
the VC8's compiler in more strictly comply to the C++ specification, so it
will generate more warnings and errors than the VC7 compiler, this behavior
is as expected.

Good Luck!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
Johan Nilsson - 16 Nov 2005 12:45 GMT
> Hi Johan,
>
[quoted text clipped - 7 lines]
> behavior
> is as expected.

No, that's not what I meant. Let me try to rephrase:

It seems like VC.NET 2005 is more sensitive to the amount of output
generated by the CL compiler than VC.NET 2003 - i.e. given the _same_ amount
of warnings output by the compiler(s), the 2005 IDE is more unresponsive
than the 2003 version.

I might be wrong about this, or I might be right, but that was what I meant.

// Johan
"Gary Chang[MSFT]" - 17 Nov 2005 06:17 GMT
>It seems like VC.NET 2005 is more sensitive to the amount
>of output generated by the CL compiler than VC.NET 2003
>- i.e. given the _same_ amount of warnings output by the
>compiler(s), the 2005 IDE is more unresponsive than the
>2003 version.

I got what you mean, Johan. I am afraid this is behavior is as expected in
VS2005, the VS2005's integrated environment is more complicated that
VS2003, sometimes it will take some more time to complete some tasks...

Thanks for your understanding!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.
Johan Nilsson - 18 Nov 2005 08:51 GMT
> >It seems like VC.NET 2005 is more sensitive to the amount
>>of output generated by the CL compiler than VC.NET 2003
[quoted text clipped - 5 lines]
> VS2005, the VS2005's integrated environment is more complicated that
> VS2003, sometimes it will take some more time to complete some tasks...

Sorry Gary, no offence meant, but that's always easy to say. Did you forward
my comments to the development team?

> Thanks for your understanding!

I'm afraid I don't have so much understanding right now (this issue isn't
something that I'd just accept as is), but thanks for putting in your
efforts anyway.

Best regards,

Johan Nilsson
"Gary Chang[MSFT]" - 18 Nov 2005 09:38 GMT
>..., but that's always easy to say. Did you forward
>my comments to the development team?

That's OK, Johan. I will forward your concern to the product team.
Meanwhile I suggest you can also submit it to our product's feedback site:

http://lab.msdn.microsoft.com/productfeedback/default.aspx

Have a nice weekend!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get 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 ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.