<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx</link><description>Hi, my name is Jianhua Li, and I am a VC++ IDE QA. Today I am going to talk about VC++ IDE / Design Time stress testing. What is stress testing? Design Time Stress (DTS) is part of a broader set of reliability quality criteria focused on measuring an</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>VC++ IDE / Design Time Stress Testing | ASP NET Hosting</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9603755</link><pubDate>Mon, 11 May 2009 20:47:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9603755</guid><dc:creator>VC++ IDE / Design Time Stress Testing | ASP NET Hosting</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://asp-net-hosting.simplynetdev.com/vc-ide-design-time-stress-testing/"&gt;http://asp-net-hosting.simplynetdev.com/vc-ide-design-time-stress-testing/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9604317</link><pubDate>Mon, 11 May 2009 22:47:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9604317</guid><dc:creator>Andrew Webb</dc:creator><description>&lt;p&gt;You need to have complex C++ test cases such as templates used in functions and classes. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also you should review all the submited bug reports that dealt with Intellisense crashes and failures.&lt;/p&gt;
&lt;p&gt;The crucial variable is not how long it runs against a static sample of C++, but how well it handles all the C++ possibilities seen in real world programming. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can test against a small subset of C++, and produce tests that don't catch the errors in the real world.&lt;/p&gt;
&lt;p&gt;Good Luck.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9604410</link><pubDate>Mon, 11 May 2009 23:18:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9604410</guid><dc:creator>Jianhua Li</dc:creator><description>&lt;p&gt;Andrew, thanks for your comments. &lt;/p&gt;
&lt;p&gt;Actually all projects in our stress testing are from real world. They do contain complex C++ language features. But you are right, there is no way we can cover all possibilities, and we just want to cover as much as possible. &lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9604418</link><pubDate>Mon, 11 May 2009 23:20:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9604418</guid><dc:creator>pingpong</dc:creator><description>&lt;p&gt;Recently I had to use Boost Graph Library with VS2008 and Intellisense simply did not work at all. Please make sure your tests reflect real-world usage of C++.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9604733</link><pubDate>Tue, 12 May 2009 01:00:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9604733</guid><dc:creator>Ivo</dc:creator><description>&lt;p&gt;Here's a part of the IDE that's progressively gotten worse ever since VC6 – support for custom color/font schemes. The first thing I do after installing VS is to change the colors to bright text on dark background and set the font to Courier (not Courier New).&lt;/p&gt;
&lt;p&gt;In VS2002/2003 some debugger windows ignored the custom colors.&lt;/p&gt;
&lt;p&gt;In VS2005/2008 that was fixed but the Disassembly window started ignoring the color settings. It starts with the default colors but if I enter/exit the color settings dialog (without changing anything) the Disassembly window fixes itself. I reported that to Connect but the bug was closed as failed to reproduce. However I’m seeing this on multiple computers with different versions of Windows and different versions of Visual Studio with and without service packs.&lt;/p&gt;
&lt;p&gt;In VS2010 CTP it was much, much worse. Random color settings would reset themselves, and changing the font would cause VS to crash when opening a text file. It was basically unusable. I'm waiting to try a real beta before I submit any bugs.&lt;/p&gt;
&lt;p&gt;So please, please, take some time to iron these things out. I’m sure the majority of the users are happy with the default settings but there are still many people that like customizing their IDE – colors, fonts, keyboard shortcuts, window layout, etc. These are features that should work reliably.&lt;/p&gt;
&lt;p&gt;Ivo&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9604870</link><pubDate>Tue, 12 May 2009 01:37:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9604870</guid><dc:creator>drd</dc:creator><description>&lt;p&gt;In VS2008 C# you can use the BACK button on Mouse to perform some IDE action. If however C++ IDE settings were selected after install, the back button does nothing!&lt;/p&gt;
&lt;p&gt;Can you make it so the user can decide what the mouse back/forward button does in all the languages.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9605076</link><pubDate>Tue, 12 May 2009 02:40:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9605076</guid><dc:creator>Jalf</dc:creator><description>&lt;p&gt;&amp;quot;Over 220k intellisense operations are requested during an 8 hour run, and successful intellisense results are returned for over 98% of those intellisense requests. What does this sound like?&amp;quot;&lt;/p&gt;
&lt;p&gt;What does it sound like? Honestly, it sounds like you need better test cases. If Intellisense is able to return results in VS2k8 in 98% of your test cases, your test cases do not reflect anything even approaching reality. In my experience it'd be more accurate to say that it does *not* work in 98% of all cases.&lt;/p&gt;
&lt;p&gt;I can live with that, I've pretty much gotten used to working without Intellisense, but if your test suite is *that* much out of touch with the real world, that's worrying.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9605973</link><pubDate>Tue, 12 May 2009 07:30:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9605973</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;I would strongly suggest chucking your test cases since they are fooling you into thinking VS 2005, VS 2008 and, no doubt, VS 2010 is more stable than it is. This is a very common mistake. When testing interfaces, nothing replaces people actually using them--preferably sadistic people who want to prove that the software engineers are complete idiots (I've worked with such testers and they are invaluable.)&lt;/p&gt;
&lt;p&gt;(As an FYI, all versions of Visual Studio will occasionally just vanish, cease to be, be no longer in the task list. How about fixing that?) &lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9607450</link><pubDate>Tue, 12 May 2009 18:42:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9607450</guid><dc:creator>DaveG</dc:creator><description>&lt;p&gt;Hi Jianhua, the new Intellisense (which iirc is SQL-based) does sound interesting, and I'm glad you're testing the heck out of it.&lt;/p&gt;
&lt;p&gt;But, if it turns out that for some scenarios Intellisense does more harm than good (i.e. longer build times, UI unresponsiveness) will there be an easy way for folks to turn it off?&lt;/p&gt;
&lt;p&gt;As you may know, the way folks currently turn Intellisense off is by renaming MS dll's...&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9607666</link><pubDate>Tue, 12 May 2009 19:30:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9607666</guid><dc:creator>Mark Hall (VC++)</dc:creator><description>&lt;p&gt;DaveG: yes, there will be a way to turn off intellisense via configuration settings.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9608035</link><pubDate>Tue, 12 May 2009 23:01:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9608035</guid><dc:creator>Jianhua Li</dc:creator><description>&lt;p&gt;Hi Pingpong, can you share more details about how the intellisense doesn't work for Boost graphs library with VS2008? I would like to raise this issue to our team. Thanks.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9608360</link><pubDate>Wed, 13 May 2009 02:02:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9608360</guid><dc:creator>Andy Rich</dc:creator><description>&lt;p&gt;It should be noted that Stress testing represents just one arm of our overall intellisense testing strategy - we have targeted correctness and targeted performance tests, but the point of these stress tests is to measure if (and how) the experience degrades over a long period of usage.&lt;/p&gt;
&lt;p&gt;Stress was very valuable (from our perspective) in detecting and reducing the number of Intellisense crashes and hangs in VS2008 - it took us a long time to get that number up to 98%, because it definitely did not start there.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9608825</link><pubDate>Wed, 13 May 2009 07:58:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9608825</guid><dc:creator>lviolette</dc:creator><description>&lt;p&gt;Here's a real-world scenario I'd like to see but can't seem to make work in the October CTP.&lt;/p&gt;
&lt;p&gt;I think this is Intellisense related, but may not strictly be a part of the Intellisense system.&lt;/p&gt;
&lt;p&gt;Create a template MFC Appwizard generated app.&lt;/p&gt;
&lt;p&gt;In stdafx.h, add:&lt;/p&gt;
&lt;p&gt;#ifdef _DEBUG&lt;/p&gt;
&lt;p&gt;#define DEBUG_ENABLED&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;In Mainfrm.cpp::CMainFrame() add:&lt;/p&gt;
&lt;p&gt;#ifdef DEBUG_ENABLED&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;OutputDebugString(_T(&amp;quot;DEBUG_ENABLED is defined.\r\n&amp;quot;));&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;#ifdef _DEBUG&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;OutputDebugString(_T(&amp;quot;_DEBUG is defined.\r\n&amp;quot;));&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;I'd like to see the OutputDebugString statements dim when the Release configuration is enabled.&lt;/p&gt;
&lt;p&gt;Then, darken when the Debug configuration is selected.&lt;/p&gt;
&lt;p&gt;Would be great if this worked without needing to recompile or anything like that.&lt;/p&gt;
&lt;p&gt;With CTP, I can't get #ifdef'd code that is compiled out to grey at all.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9609437</link><pubDate>Wed, 13 May 2009 18:25:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9609437</guid><dc:creator>pingpong</dc:creator><description>&lt;p&gt;Jianhua Li: The Intellisense fails with 'Can't find the identifier' message in the statusbar whenever I'm trying to get parameter information on calls to BGL's graph layout algorithms. I have 'using namespace boost' at the file scope, preceeding the code causing the Intellisense to fail. Similarly, I can't get autocompletion when I type 'circle_', for example. I'd expect 'circle_graph_layout' to be autocompleted. &lt;/p&gt;
&lt;p&gt;Platform is VS2008 SP1 with Boost 1.38.0.&lt;/p&gt;
</description></item><item><title>Visual Studio Links #118</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9609482</link><pubDate>Wed, 13 May 2009 18:50:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9609482</guid><dc:creator>Visual Studio Hacks</dc:creator><description>&lt;p&gt;My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Greg Duncan posted a link to the Managed Stack Explorer on CodePlex . Brad Abrams announced that the .NET RIA Services May 2009 Preview&lt;/p&gt;
</description></item><item><title>IDE colors seconded</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9611968</link><pubDate>Thu, 14 May 2009 01:56:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9611968</guid><dc:creator>Greg</dc:creator><description>&lt;p&gt;Agreed. Please let us set the colors of the ide windows/subwindows. &amp;nbsp;Please let us set the IDE to a flat color scheme (no gradients, no reflected icons, etc.)&lt;/p&gt;
&lt;p&gt;This greatly helps us that work more effectively with a clean uncluttered interface due to vision issues.&lt;/p&gt;
&lt;p&gt;This is simply the same usability testing/evaluation done when comparing how a 22 year old uses the product and how a 50 year old uses the product. &amp;nbsp;The 22 year old is more tolerant of low level changes in the visual interface while the 50 year old is much less tolerant of visible changes in the user interface.&lt;/p&gt;
&lt;p&gt;One easy visual test is to take a snapshot of the IDE, run it through an image edge detection filter (Sobel) and see just how many lines and how dense the lines are in the result. &amp;nbsp;A high density of lines (edges) indicates a noisy user interface. This noise reduces productivity.&lt;/p&gt;
</description></item><item><title>IDE</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9611980</link><pubDate>Thu, 14 May 2009 01:58:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9611980</guid><dc:creator>Greg</dc:creator><description>&lt;p&gt;I reduce the number of buttons in the IDE to 15 or fewer in VS 2008 to reduce clutter and remove tools I rarely or never use.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9616903</link><pubDate>Thu, 14 May 2009 22:21:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9616903</guid><dc:creator>Ben</dc:creator><description>&lt;p&gt;For a &amp;quot;targeted correctness&amp;quot; test, try using Intellisense from within a Google Test macro (TEST_F or TEST). I've found Intellisense to almost never be able to do any auto-completions correctly from within such a macro.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9626484</link><pubDate>Tue, 19 May 2009 03:14:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9626484</guid><dc:creator>Jianhua Li</dc:creator><description>&lt;p&gt;Hi Pingpong,&lt;/p&gt;
&lt;p&gt;Thanks for providing the repro information. &lt;/p&gt;
&lt;p&gt;We will work on it and update you as soon as possible. &amp;nbsp;&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9633167</link><pubDate>Thu, 21 May 2009 04:36:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9633167</guid><dc:creator>Nick</dc:creator><description>&lt;p&gt;Some minor specific suggestions:&lt;/p&gt;
&lt;p&gt;- Incorporate a random number of file switches during the retyping of the file, to simulate moving between files. Make sure you include all the file types which VS processes differently (eg: multiple languages, .xml files, browser help windows, etc.).&lt;/p&gt;
&lt;p&gt;- Add some tests to jump (using Intellisense commands such as 'go to definition') into STL/boost/MFC header files, and make sure all the objects in the headers are being evaluated correctly, and in the context of the source file you came from.&lt;/p&gt;
&lt;p&gt;- Use temporary macros to rename some symbols (eg: find in files -&amp;gt; temp macro record -&amp;gt; Next in Results -&amp;gt; do replacement (paste or manual typing with some arrow-based navigation) -&amp;gt; temp macro end -&amp;gt; playback repeatedly until end of file). Make sure both the macro steps are fast, and the symbol data is still correct.&lt;/p&gt;
&lt;p&gt;- Use macros to define some symbols (eg: DEFINE_SYMBOL_WITH_POSTFIX( Symbol, Postfix ) -&amp;gt; class Symbol##Postfix { [...] }: ), and test Intellisense response and correctness as macro is modified.&lt;/p&gt;
&lt;p&gt;Just some thoughts, hope they help.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9643845</link><pubDate>Wed, 27 May 2009 10:23:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9643845</guid><dc:creator>Nibu Thomas MVP</dc:creator><description>&lt;p&gt;I'm using VS2005, now we're moving to VS2008, all of my teammates are facing problems with intellisense so we've disabled intellisense by renaming necessary dlls. We now use Visual Assist which quite sadly is bit expensive. After spending money on the IDE it's quite sad we've got to spend few more on intellisense when the IDE itself came bundled with one. &lt;/p&gt;
&lt;p&gt;Don't know if you guys stress tested VS2005/VS2008 in the same manner, if you did then you need to change the tests since it wasn't productive.&lt;/p&gt;
&lt;p&gt;The whole IDE looks dumb/useless without this feature. Please make sure VS2010 works well in this respect.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nibu&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9668562</link><pubDate>Sun, 31 May 2009 14:01:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9668562</guid><dc:creator>dritte</dc:creator><description>&lt;p&gt;C++ -&amp;gt; File-&amp;gt;New-&amp;gt;Project from existing code.. doesn't work properly. 'Browse' and 'Add' buttons have no any actions. &lt;/p&gt;
&lt;p&gt;Beside, working with external sources files is a horror - i mean about Solution Explorer - its view by Header Files, Source Files are totally unflexible!!!. &lt;/p&gt;
&lt;p&gt;It would be great if I could Add a folder(with many subfolders) with sources 'as a link' form any location and Solution Exporere show me that with properly hierarchical SUBFOLDERS TREE, not as only files with alphabetical order !! I know it's posible to change the view to 'Show All files' mode, but in this mode, I cannot hide unnesesery folders. Look how it's done in others IDE - for exaple Code::Block. &lt;/p&gt;
&lt;p&gt;Other thing adding about 1000 files and removing them from project freeze my dual core with 4GB for few minutes- it looks like VS updates tree view in Sol.Expl. by every processed file. Suspend Solution Explorer tree view updating for time when files are adding.&lt;/p&gt;
</description></item><item><title>re: VC++ IDE / Design Time Stress Testing</title><link>http://blogs.msdn.com/vcblog/archive/2009/05/11/vc-ide-design-time-stress-testing.aspx#9751480</link><pubDate>Sun, 14 Jun 2009 23:30:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9751480</guid><dc:creator>Damir V.</dc:creator><description>&lt;p&gt;Nibu Thomas MVP: Yes, Visual Assist is now quite expensive product (they were quite cheap when they started), but it is totally worth it!&lt;/p&gt;
&lt;p&gt;We've been using it for several years on VC6 and now on VS2008. It just an overall good product. &lt;/p&gt;
&lt;p&gt;It does have bugs and it isn't always accurate, but it is 100 times better than VS's Intellisense. Plus it has lots of other time saving features that pay for themselves: refactoring, switching between h and cpp, enhanced highlighting, etc. &lt;/p&gt;
</description></item></channel></rss>