Search
Project Description
Cicero is a library/application to programmatically analyze managed crash dumps. It provides a managed API to load dumps and look at managed objects, using SOS and DbgEng under the covers.

Here's a sample application that uses Cicero to show the object reference graph. Here's the code to construct the graph.

   var debugEngine = new CiceroEngine(@"E:\Projects\AB2.dmp");
   var type = debugEngine.GetType(textBox1.Text);

   // Filter out small objects
   var targetObjects = debugEngine.GetObjects(type).Where(obj => obj.GetSize() > 100).ToArray();
   var target = targetObjects.ElementAt(1);

   var referenceGraph = target.GetRoots(); // referenceGraph is what you're seeing in the app below


cicero.png
Last edited Jan 26 2010 at 8:34 PM by senthilkumar, version 6
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365