This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] another windows debugging tip

To: <xen-users@xxxxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] another windows debugging tip
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sun, 9 Nov 2008 17:49:18 +1100
Delivery-date: Sat, 08 Nov 2008 22:49:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclCN0me0nVaRnOJRPaG3dcCanYBAw==
Thread-topic: another windows debugging tip
Something else I just discovered to make capturing DbgPrint and KdPrint
output from Windows (I use this a lot in debugging gplpv drivers):

. Make sure "serial='pty'" is in your windomu config
. Run DebugView from SysInternals
. Enabled Kernel Capture
. Log to a file - type 'com1' as the filename
. xm console will now show you all the debug output that DebugView

Because DebugView is a usermode app, it's not going to capture anything
if the system crashes before it can schedule the usermode process, but
it means that you don't need to rely on tcpip functioning, and it's
heaps faster than windbg.

If anyone knows a pure kernel mode solution that can capture DbgPrint
and KdPrint output and write it straight to the serial port, please let
me know!



Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] another windows debugging tip, James Harper <=