Project Description
ODbgExt is an open source debugger extension for WinDbg that is intended to be developed by the debugging community. It is based on the Windows Debugger SDK Sample ‘exts’ and uses the COM Debugger interface IDebugControl. The primary objective of the project is to provide the debugging community a central location to share their debugger extensions that help to isolate common problems in the community and make debugging both live systems and dumps easier. The initial release will be the basic framework that we expect other developers to contribute to. There will be very basic functionality in the initial version. We, GES (Global Escalation Services) intend on doing a series of blogs to talk about writing debugger extensions over the coming year. As we blog about writing extension we will include the code in ODbgExt (This project). This is the same group that runs the blog. We encourage you to sign up and contribute your debugger extension ideas and or code to the project. Simply create a codeplex account and request access.

For more details see the discussions section for ideas!

If you are just getting started please make sure that you donwload the latest version of the changes.
There were some problems with the early build environment that have been fix.

Build Instructions

Before we begin, please only check in code that builds with no warnings. (Do not break the build!)

The project requires you install the Windows DDK
The latest debugger and debuger SDK.
The latest Platform SDK

You will need to use the DDK Build environment to build the project.

Cmd.exe /k C:\WinDDK\6000\bin\setenv.bat C:\WinDDK\6000\ chk WNET

There is a setpaths.cmd file that is part of the project that sets these paths up for you.

set include=C:\debuggers\sdk\inc;%include%
set lib=C:\debuggers\sdk\lib\i386;%lib%;
set include=C:\winsdk\include;%include%
set lib=C:\winsdk\lib;%lib%;
set path=C:\codeplex;%path%
set DBGSDKLIBPATH=C:\debuggers\sdk\lib
set PSDKLIBPATH=C:\winsdk\lib

To build the project from your DDK Build environment change to the ODbgExt directory and type bcz
This will produce the following output and will build the binary based on your DDK Build environment settings. (ie Free, Checked, x86, or x64)

BUILD: Compile and Link for x86
BUILD: Start time: Tue Apr 08 20:48:21 2008
BUILD: Examining c:\debuggers\sdk\samples\odbgext directory for files to compile.
BUILD: Compiling c:\debuggers\sdk\samples\odbgext directory
Compiling - odbgex.rc
Compiling - odbgext.cpp
Compiling - odbg.cpp
Compiling - generating code...
Building Library - objfrewnetx86\i386\odbgext.lib
BUILD: Linking c:\debuggers\sdk\samples\odbgext directory
Linking Executable - objfrewnetx86\i386\odbgext.dll
BUILD: Finish time: Tue Apr 08 20:48:23 2008

5 files compiled
1 library built
1 executable built

Last edited May 2, 2008 at 9:00 PM by jeffda, version 4