Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv

Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%

Hi,
Also installer the WinDbg SDK via the WinDbg custom install option. Note to
build the SDK examples the path to the build dir cannot have spaces in.

Yours
Roger


Roger Coote,
Senior Design Engineer
PowerVR Technologies, A Division of Imagination Technologies Ltd
Home Park Estate, Kings Langley, Hertfordshire, WD4 8LZ, UK
phone :+44 (1923) 260511 fax :+44 (1923) 268969
direct :+44 (1923) 277274
mailto:xxxxx@powervr.com www.powervr.com


-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: 05 September 2002 12:22
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@videologic.com
To unsubscribe send a blank email to %%email.unsub%%

That tells you how to write the old style extensions.

For info on the new style extensions check out the samples and dbgeng.h
in the SDK which comes w/ the debugger. The new style is MUCH more
powerful that the old style (hundreds of APIs vs tens of APIs)

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thursday, September 05, 2002 4:22 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

Hi, Nathan,

I feel that dbgeng.h seems like COM I/F. Is that right?
What you said hundreds of APIs depends on dbgeng.h for SDK or wdbgexts is
contained in latest DDK.

My windbg exteions which is written by new style includes wdbgexts.h from
DDK and dbgeng.h from SDK.

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, September 06, 2002 1:28 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

That tells you how to write the old style extensions.

For info on the new style extensions check out the samples and dbgeng.h
in the SDK which comes w/ the debugger. The new style is MUCH more
powerful that the old style (hundreds of APIs vs tens of APIs)

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thursday, September 05, 2002 4:22 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%

The new style APIs are COM-like. This means that they all implment IUnknown and you have to ref countthe interfaces and do some QueryIterface to get the one you want. However the COM run-time is NOT involved, so you don’t call CoInitialize or CoCreateInstance or other Co* functions


From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thu 9/5/2002 11:31 PM
To: Kernel Debugging Interest List
Cc:
Subject: [windbg] RE: Writing WinDBG extensions

Hi, Nathan,

I feel that dbgeng.h seems like COM I/F. Is that right?
What you said hundreds of APIs depends on dbgeng.h for SDK or wdbgexts is
contained in latest DDK.

My windbg exteions which is written by new style includes wdbgexts.h from
DDK and dbgeng.h from SDK.

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, September 06, 2002 1:28 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

That tells you how to write the old style extensions.

For info on the new style extensions check out the samples and dbgeng.h
in the SDK which comes w/ the debugger. The new style is MUCH more
powerful that the old style (hundreds of APIs vs tens of APIs)

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thursday, September 05, 2002 4:22 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%

You may also use this article as reference (pretty old though)
http://www.osr.com/ntinsider/1999/debug_ext.htm
xxxxx@citrix.co.jp wrote:Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@yahoo.com
To unsubscribe send a blank email to %%email.unsub%%


Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

Hi, Nathan

Thank you for your information.
I understand it.

Thanks,
Futoshi

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Saturday, September 07, 2002 3:30 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

The new style APIs are COM-like. This means that they all implment IUnknown
and you have to ref countthe interfaces and do some QueryIterface to get the
one you want. However the COM run-time is NOT involved, so you don’t call
CoInitialize or CoCreateInstance or other Co* functions


From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thu 9/5/2002 11:31 PM
To: Kernel Debugging Interest List
Cc:
Subject: [windbg] RE: Writing WinDBG extensions

Hi, Nathan,

I feel that dbgeng.h seems like COM I/F. Is that right?
What you said hundreds of APIs depends on dbgeng.h for SDK or wdbgexts is
contained in latest DDK.

My windbg exteions which is written by new style includes wdbgexts.h from
DDK and dbgeng.h from SDK.

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Friday, September 06, 2002 1:28 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

That tells you how to write the old style extensions.

For info on the new style extensions check out the samples and dbgeng.h
in the SDK which comes w/ the debugger. The new style is MUCH more
powerful that the old style (hundreds of APIs vs tens of APIs)

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thursday, September 05, 2002 4:22 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Writing WinDBG extensions

Please reference the following article.
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.asp

-----Original Message-----
From: Alexey Logachyov [mailto:xxxxx@vba.com.by]
Sent: Thursday, September 05, 2002 8:12 PM
To: Kernel Debugging Interest List
Subject: [windbg] Writing WinDBG extensions

Where can I find examples of writing WinDBG extensions?

-htfv


You are currently subscribed to windbg as: xxxxx@citrix.co.jp To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%