Debugging Tools for Windows

Global Flags Dialog Box

You can use the Global Flags dialog box to set and clear global flags from a user interface that lists all flags by name. There is no need to look up flag abbreviations or hexadecimal values.

Also, the dialog box provides access to the following features that are not available from the command line:

This topic includes instructions for the following procedures:

Opening the Dialog Box

Setting and Clearing System-wide Flags

Setting and Clearing Kernel Flags

Setting and Clearing Image File Flags

Launching a Program with Flags

Running a Program in a Debugger

Configuring Special Pool

Configuring Object Reference Tracing

Pool tagging is permanently enabled on Windows Server 2003 and later versions of Windows. On these systems, the Enable pool tagging check box on the Global Flags dialog box is dimmed, and commands to enable or disable pool tagging fail.

Use care in interpreting the Enable page heap check box for an image file in the Global Flags dialog box. This check box indicates that page heap verification is enabled for an image file, but it does not indicate whether it is full or standard page heap verification. If the check results from selecting the check box, then full page heap verification is enabled for the image file. However, if the check results from use of the command-line interface, then the check can represent the enabling of either full or standard page heap verification for the image file.

To determine whether a full or standard page heap verification is enabled for a program, at the command line, type gflags /p. In the resulting display, traces indicates that standard page heap verification is enabled for the program and full traces indicates that full page heap verification is enabled for the program.

Build machine: CAPEBUILD