OSRLogo
OSRLogoOSRLogoOSRLogo x Seminar Ad
OSRLogo
x

Everything Windows Driver Development

x
x
x
GoToHomePage xLoginx
 
 

    Tue, 09 Feb 2010     76021 members

   Login
   Join


 
 
Contents
  About This Site
What's New?
Hector's Memos
The NT Insider
The Basics
File Systems
Downloads
ListServer / Forum
Driver Jobs
Store
  Express Links
  · Attention Silicon Valley - WDF/WDF/Kernel Debugging Seminars Coming to Santa Clara
  · The Community Steps Up: VisualDDK
  · Win7 Mysteries: Crash Dump Oddities
  · KMDF Basics: Using Counted Queues
  · Writing a Virtual Storport Miniport Driver (Part II)

Interoffice Memorandum

Date:  22-May-02, Modified: 30-Jul-02
From: Hector J. Rodriguez
To:    Driver Developers

Re: Enabling Debugging on the Local Machine for Windows XP®
          

If you want to allow debugging on the local machine with WinDBG and Windows XP® (or later) you must add the "/debug" flag in your boot.ini file. This will ensure that the data structures the debugger needs will remain resident in memory. Otherwise they are pageable and may not be resident in memory when the debugger needs them.

 

Note that the amount of real "debugging" you can actually do locally with WinDbg is limited.  But using WinDbg on the local machine can be very useful to examine data structures and such.

Related Articles
Special Win2K PnP Tracing and Checks
Resolving Symbol Problems in WinDBG
Getting DbgPrint Output To Appear In Longhorn
I Hooked Up The Debugger Using 1394, and NOW...
Why Is The IRQL Always 0xFF When I Do !PCR?
Partially Checked Service Packs
Interesting New Hardware Available in OSR Online Store
Look Out For Vista -- Testing Drivers on 5308
USB 2.0 Debugging
SetDbgPrintFiltering

User Comments
Though Hector himself probably doesn't care, why not rate this article and share your opinion with the community!?
Post Your Comment

Post Your Comments.
Print this article.
Email this article.

Writing WDF Drivers LAB
Santa Clara, CA
22-Feb-2010 to 26-Feb-2010

Writing WDM Drivers LAB
Santa Clara, CA
22-Feb-2010 to 26-Feb-2010

Kernel Debugging
& Crash Analysis LAB

Santa Clara, CA
1 Mar-2010 to 5-Mar-2010

Writing WDF Drivers LAB
Munich, Germany
15 Mar-2010 to 19-Mar-2010

Windows Internals
& Software Drivers LAB

Seattle, WA
29 Mar-2010 to 2-Apr-2010

Kernel Debugging
& Crash Analysis LAB

Munich, Germany
12 Apr-2010 to 16-Apr-2010

File System Development
Waltham, MA
27-Apr-2010 to 30-Apr-2010

 
 

Windows Debugger
V6.11.1.404 -- 27-Mar-09

Checked Build Downloads
11-Apr-09

Debugging Symbols
5-Aug-09

WDK Doc Updates
Now updated monthly!

Windows WDK
Win7 & Server 2008 R2 -- 5-Aug-09

 
IFS Kit Support
bottom nav links