09.02.2014 Views

Windows sysinternals

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

242 Part II Usage Guide<br />

the crash dump file. This can be helpful if, for example, you are trying to diagnose a crash<br />

involving a kernel-mode driver you are developing. You can also instrument your driver to<br />

produce debug output so that users who experience a crash using your driver can send you a<br />

debug output file instead of an entire memory dump.<br />

Choose Process Crash Dump from the File menu to select a crash dump file for DebugView<br />

to analyze. DebugView will search the file for its debug output buffers. If it finds them,<br />

DebugView will prompt you for the name of a log file in which to save the output. You can<br />

load saved output files into DebugView for viewing. Note that the system must be configured<br />

to create a kernel or full dump (not a minidump) for this feature to work. DebugView<br />

saves all capture configuration settings on exit and restores them the next time it runs.<br />

Note that if it had been running elevated and capturing kernel or global (session 0) debug<br />

output, DebugView displays error messages and disables those options if it doesn’t have<br />

administrative rights the next time it runs under the same user account, because it will not be<br />

able to capture output from those sources. You can avoid these error messages by starting<br />

DebugView with the /kn option to disable kernel capture and /gn to disable global capture.<br />

Searching, Filtering, and Highlighting Output<br />

DebugView has several features that can help you focus on the debug output you are<br />

interested in. These capabilities include searching, filtering, highlighting, and limiting the<br />

number of debug output lines saved in the display.<br />

Clearing the Display<br />

To clear the display of all captured debug text, press Ctrl+X or click the Clear icon in the<br />

toolbar. You can also clear the DebugView output from a debug output source: when<br />

DebugView sees the special debug output string DBGVIEWCLEAR (all capitals) anywhere in<br />

an input line, DebugView clears the output. Clearing the output also resets the sequence<br />

number and elapsed timer to 0.<br />

Searching<br />

If you want to search for a line containing text of interest, press Ctrl+F to display the Find<br />

dialog box. If the text you specify matches text in the output window, DebugView selects the<br />

next matching line and turns off the Autoscroll feature to keep the line in the window. Press<br />

F3 to repeat a successful search. You can press Shift+F3 to reverse the search direction.<br />

Filtering<br />

Another way to isolate output you are interested in is to use DebugView’s filtering capability.<br />

Click the Filter/Highlight button in the DebugView toolbar to display the Filter dialog box,<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!