[Sample Of Aug 30th] Evaluate function and get local variables of a Managed Process Using MDbg


Homepage image
RSS Feed

Sample Download : http://code.msdn.microsoft.com/Evaluate-function-and-get-d0b160de

The sample demonstrates how to debug a managed process and supplies following features:
1. Stop and continue the target process.
2. List the threads of the target process, and get the local variables in the frame which has source code.
3. Evaluate a function in the target process.
  The function may have no paramter, or have value type Parameters, Reference Type Parameters, or even generic type parameters.

The debugging API supports to debug a managed process without symbol file or source code, but to test the features, you have to debug a process/application with symbol file and source code.

imageYou can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.

Comments (0)

Skip to main content