Loading the Intel® Debug Extensions for WinDbg* for Intel® Processor Trace

When installed correctly, WinDbg* detects the extension automatically. If WinDbg* does not detect and load the extension automatically or if the extension was installed manually, perform one of the following actions:

  • Place ptext32.dll and ptext64.dll in a directory where WinDbg* searches for extensions by default. These are usually all directories in the PATH environment variable and some others. To display all searched directories, use the .extpath command in WinDbg*.

  • Add the path to ptext32.dll and ptext64.dll to the _NT_DEBUGGER_EXTENSION_PATH environment variable. Create that variable, if it doesn’t exist.

  • Use the .extpath+ <directory> command in WinDbg* to add the directory containing ptext32.dll and ptext64.dll to the search path.


    This setting only applies to the current debug session and is not saved when WinDbg* is closed.

Usually, WinDbg* loads detected extensions automatically. If this fails, you can load the extension manually. Use the .load ptext32 or .load ptext64 command in WinDbg*, depending on whether you are using a 32-bit or 64-bit version of WinDbg*.

For more information on loading debug extensions in WinDbg*, see the WinDbg* help system.

For more complete information about compiler optimizations, see our Optimization Notice.