How to Turn off the debug messages in windbg

#1.I would like to turn off the debug messages that are coming from the target machine while doing Remote kernel debugging …

#2.Is there any ways to filter certain messages just like how we do in “dbgview”

How do I do that ?


Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.

  1. No

  2. Sort of, but it is not really what you have probably have in mind.
    That is, you can’t do something sensible like filter on a regular
    expression. See the documentation for DbgPrintEx for full information,
    but basically, there are a number of kernel variables of the form
    Kd_XXXX_Mask that control output for some categories of driver. The
    value of a given variable is used to compare against the level value in
    a given DbgPrintEx for the type of driver of that category; this
    determines whether it is displayed. The rules are fairly complicated,
    and leave a lot to be desired in my opinion, when compared to something
    like a regular expression filter.

mm


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Priya Lakshmi
Sent: Friday, August 10, 2007 05:40
To: Kernel Debugging Interest List
Subject: [windbg] How to Turn off the debug messages in windbg

#1.I would like to turn off the debug messages that are coming from the
target machine while doing Remote kernel debugging …

#2.Is there any ways to filter certain messages just like how we do in
“dbgview”

How do I do that ?


Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
http:ing/?p=PASSPORTPLUS> — You are currently subscribed to windbg as:
xxxxx@evitechnology.com To unsubscribe send a blank email to
xxxxx@lists.osr.com</http:>

You can use `.ofilter’, but the filtering is done debugger side and not host-side (which means that you will still incur the slowdown on each dbgprint, but it just won’t clutter the display so much).


Ken Johnson (Skywing)
Windows SDK MVP
http://www.nynaeve.net
“Martin O’Brien” wrote in message news:xxxxx@windbg…
1. No

2. Sort of, but it is not really what you have probably have in mind. That is, you can’t do something sensible like filter on a regular expression. See the documentation for DbgPrintEx for full information, but basically, there are a number of kernel variables of the form Kd_XXXX_Mask that control output for some categories of driver. The value of a given variable is used to compare against the level value in a given DbgPrintEx for the type of driver of that category; this determines whether it is displayed. The rules are fairly complicated, and leave a lot to be desired in my opinion, when compared to something like a regular expression filter.

mm

------------------------------------------------------------------------------

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Priya Lakshmi
Sent: Friday, August 10, 2007 05:40
To: Kernel Debugging Interest List
Subject: [windbg] How to Turn off the debug messages in windbg

#1.I would like to turn off the debug messages that are coming from the target machine while doing Remote kernel debugging …

#2.Is there any ways to filter certain messages just like how we do in “dbgview”

How do I do that ?

------------------------------------------------------------------------------

Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online. — You are currently subscribed to windbg as: xxxxx@evitechnology.com To unsubscribe send a blank email to xxxxx@lists.osr.com