Re: Writing a debugger extension that dumps structs

I’m not familiar with the debugger API. Is this is a different
API than those routines found in Wdbgexts.h?

In order to write a debugger extension DLL that dumps structs that I’ve
defined, which debugger API functions should I use in the debugger extension
DLL to get the field addresses and values from the structure?

Are there any sample debugger extension DLLs that dump structs?

-----Original Message-----
From: xxxxx@microsoft.com [mailto:xxxxx@microsoft.com]
Sent: Monday, April 02, 2001 7:58 PM
To: NT Developers Interest List
Subject: [ntdev] Re: Writing a debugger extension…

You should not include ntddk.h or any of your header files.

The way you should dump structures is to call the debugger APIs to get the
field addresses and values from your data structures - which the debugger
gets from the .pdb file.
This will allow your extension to always work, even if you add ot remove a
field in your data structures.
This will also allow your extension to “just work” if you port to 64 bit.


You are currently subscribed to ntdev as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

When you install the debugger pacakge, they is an optional “sdk” component
that has the header files, lib, and samples for debugger extensions.

Take a look at those.

-Andre


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com