The !logexts.logb extension displays or flushes the output buffer.

!logexts.logb p 
!logexts.logb f 


Causes the contents of the output buffer to be displayed in the debugger.

Flushes the output buffer to the disk.


Windows 2000


Windows XP and later


Additional Information

For more information, see Logger and LogViewer.


As a performance consideration, log output is flushed to disk only when the output buffer is full. By default, the buffer is 2144 bytes.

The !logexts.logb p extension displays the contents of the buffer in the debugger.

The !logexts.logb f extension flushes the buffer to the log files. Because the buffer memory is managed by the target application, the automatic writing of the buffer to disk will not occur if there is an access violation or some other nonrecoverable error in the target application. In such cases, you should use this command to manually flush the buffer to the disk. Otherwise, the most recently-logged APIs might not appear in the log files.

Send comments about this topic to Microsoft