Inside and Out...

An attempt to understand technology better...

  Home  |   Contact  |   Syndication    |   Login
  160 Posts | 0 Stories | 12 Comments | 181 Trackbacks

News


WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.
Disclaimer

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Twitter





Tag Cloud


Archives

Post Categories

Image Galleries

Links

Debugging

Advanced Windows Debugging got me hooked onto Detours and that led me to experiment with it a bit more. It resulted in this. Over the past three days, I have been working on using Detours to build a memory leak detection tool. MemAnalysis is finally done (v1, that is) and can track memory allocation and release when done using the following APIs: VirtualAlloc VirtualFree HeapAlloc HeapFree HeapDestroy Once the application being analyzed exits, MemAnalysis produces a report with details on how many...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

The book is a must have for every serious Windows developer
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

[Original Post Date: 9th October 2005] I just finished implementing WIVisualizer, a WindowsIdentity debugger visualizer for Visual Studio 2005. It displays important details like: Username Authentication type Impersonation Level Account type - System or Guest Anonymous or Authenticated identity Windows groups the identity is member of Here's a screen-shot for the same: It has been built using the Visual Studio 2005 Release Candidate and can be downloaded from here. To install, simply copy the DLL...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

[Original Post Date: 18th September 2005] Starting from 20th of September, Technology Roadshow starts in India. We are going to 6 different cities and doing two complete days of technical sessions across a breadth of technologies: for developers, IT professionals, Windows Mobile and Tablet PC developers and Architects. Below are the dates for the same: City Day 1 Day 2 Mumbai 20th Sep 21st Sep Pune 22nd Sep 23rd Sep Chennai 27th Sep 28th Sep Hyderabad 30th Sep 1st Oct New Delhi 4th Oct 5th Oct Bangalore...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

[Original Post Date: 16th August 2005] System.Diagnostics.Process class is a managed wrap over a subset of the ToolHelp API - as it enumerates only the process list. Not only that, it will list all the running processes, irrespective of whether they are running unmanaged code or running managed code. What if you wish to identify which of these processes are running managed code? Unfortunately, neither the ToolHelp API, nor the Process class allow us to identify managed processes from the list they...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

One of the debug visualizers shipped with VS 2005 Beta 1 is the DataSet/DataTable visualizer that allows you to visualize a DataSet and DataTable in a grid. However, it doesn't let you view a DataView object. To overcome this, I have written the DataViewVisualizer that allows you to analyze a System.Data.DataView object during debug time and see how it under goes changes when its modified or filters are applied. For instance, when a DataView object is hovered upon by the mouse and the visualizer...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

For those who have worked with WinDBG, Son-of-Strike (SOS) wouldn't be an unfamiliar territory - the debug extension which allows decently deep managed code debugging. For those who would want to go even deeper than SOS, download PSSCOR, the superset of SOS, from the link below: http://blogs.msdn.com/mvsta... Once downloaded, .load PSSCOR and issue the !Upgrade command to get the latest version...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati