Debugging/Comparing Managed or .net memory dumps using Visual Studio 2013

Visual Studio 2013 comes with a new feature called “Debug Managed Memory” this feature also allows to compare managed memory usage across two dumps.  Read on… This is how you would open a .net 4.5 memory dump in Visual Studio… So for the purpose of this blog I’ve created memory dumps of a managed application […]
Continue reading…

 

[Video] What’s cool in Visual Studio 2013 Solution Explorer

A video presentation on what’s new and cool in Visual Studio 2013 Solution Explorer… I’ll follow up this presentation with some more presentation on what’s some of the cool things in Visual Studio 2013 just to speed up anyone who’s hopping onto the Visual Studio 2013 wagon.
Continue reading…

 

VisualBasic PowerPack missing from Visual Studio 2013?

Note the power pack is not part of Visual Studio 2013 install, it comes as separate MSI. The download link for Visual Basic Powerpack for Visual Studio 2013 is hard to find online as well. I found the link from our internal support article. Download VB Powerpack (direct link to bits): http://go.microsoft.com/fwlink/?LinkId=321343 Please close any […]
Continue reading…

 

[Debugging] Application crash after migration from Visual Studio 2005 to 2008

Had a customer whose application was crashing after migration from Visual Studio 2005 to Visual Studio 2008. He had the crash dumps as well. The crash call stack had some CRT string format functions like vsprintf. This gave to us a fair inkling that parameters passed in are wrong. Customer had a format string, something […]
Continue reading…

 

[Debugging] How to find length of a CString string in application memory or in a dump

Recently a colleague of mine asked where’s the length of CString string stored in memory. Hmm so lets dig around. Please note I’ve declared the following CString object in my code… CString TestCString = _T(“Nibu is testing CString”); If you dump CString type in the debugger we see following… 0:000> dt TestCStringLocal var @ 0xb4fcd4 […]
Continue reading…

 

[Debugging] Application high memory usage on Windows 8.1

Recently had a customer who was complaining about high memory usage on Windows 8.1. The application consumed about 140 MB on a Windows 8.1 OS as compared to a meager 3 to 4 MB on a Windows 7 or 8 machine. Hmm interesting. Being experienced in troubleshooting for sometime now this smelled to me like […]
Continue reading…

 

[MFC Feature Pack] Select an MDI tab programmatically in a Document View application

A customer recently asked this question, thought I’ll share the solution out here. Its not that obvious FYI. When creating an MFC MDI application we have an option to enable tabbed view of MDI documents. Once this is done here’s how the application will look like… Note that except for the first sample image you […]
Continue reading…

 

Visual Studio 2013 successfully Released to Web

Some useful links… Visual Studio 2013 Available Now!Visual Studio 2013 HighlightsSystem Requirements and Platform CompatibilityKnown issues for Visual Studio 2013 (Readme)Known issues for .NET Framework 4.5.1 (Readme)Known issues for Visual Studio Team Foundation Server 2013 (Readme)Windows Store is now open for submitting apps targeting Windows 8.1
Continue reading…

 

[MFC]Application migrated from VS2005 to VS2010 crashes on XP

The crash happens as a result of requesting a non-existent API via GetProcAddress, the API is GetThreadPreferredUILanguages. GetProcAddress returns 0xFFBADD11 (a known issue with windows XP where GetProcAddress returns NON-NULL) which means LDRP_BAD_DLL. To fix this issue override CWinApp::LoadAppLangResourceDLL and prevent loading of the lang dll or set the WINVER macro to target XP builds […]
Continue reading…

 

Announcing our third Windows Phone 8 update—plus a new developer preview program

By: Darren Laybourn, Corporate Vice President, Windows Phone A bigger Start screen for more Live Tiles. A new, customizable Driving Mode. Better accessibility options. These are just some of the new features and innovations that we’re getting ready to deliver to you in Windows Phone 8 Update 3, which will roll out to existing phones […]
Continue reading…