Is it possible to display memory in base 10?

I am trying to get a quick and dirty dump of a data structure, which is all
ULONGs, so I can stuff it into Excel. Excel will deal with hex, sort of,
but it’s very tedious and unpleasant. So I would like to get WinDBG to dump
the values as decimal, so Excel won’t choke on it. I would even be willing
to cut and paste from the watch window, if it would work, but the Watch
window docs say:

Integer values are always displayed in hexadecimal, but they are entered in
the current radix (unless you specify a different radix prefix). To change
the current radix, use the N (Set Number Base) command in the Debugger
Command window.

I’ve set the radix to 10 and use DT to dump the struct, which dumps the data
values in hex, even with the decimal radix set. Is there any way to
persuade WinDBG to display integer values in decimal?

Thanks,

Phil

* Philip D. Barila | (503) 264-8386
* Intel Corp. | M/S JF2-53 Office JF2-2-G6
* Intel Architecture Labs | I/O Arch
* Storage Architecture and Performance


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Yes, John, I could do that. I was hoping to avoid coding in order to
accomplish something this trivial, and hoped someone knew the answer that I
was missing.

Thanks,

Phil

-----Original Message-----
Sent: Tuesday, August 28, 2001 2:02 AM
To: ‘xxxxx@intel.com’
Subject: RE: [windbg] Is it possible to display memory in base 10?

Hi Phil.

To answer the question, I don’t know how to convince windbg to do this.
However, you do have the option of writing a debugger extension (samples are
included when you install the debugger sdk out of the windbg .msi file), and
then you can do whatever you need.

I hope you find this useful!

John


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

In WinDbg 2.0.20 there is a “Display Format” drop down menu that allows
you to select Long Unsigned which shows up in the memory window in base
10 format.

…John

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-windbg-
xxxxx@lists.osr.com] On Behalf Of Barila, Phil
Sent: Monday, August 27, 2001 6:51 PM
To: Kernel Debugging Interest List
Subject: [windbg] Is it possible to display memory in base 10?

I am trying to get a quick and dirty dump of a data structure, which
is
all
ULONGs, so I can stuff it into Excel. Excel will deal with hex, sort
of,
but it’s very tedious and unpleasant. So I would like to get WinDBG
to
dump
the values as decimal, so Excel won’t choke on it. I would even be
willing
to cut and paste from the watch window, if it would work, but the
Watch
window docs say:

Integer values are always displayed in hexadecimal, but they are
entered
in
the current radix (unless you specify a different radix prefix). To
change
the current radix, use the N (Set Number Base) command in the Debugger
Command window.

I’ve set the radix to 10 and use DT to dump the struct, which dumps
the
data
values in hex, even with the decimal radix set. Is there any way to
persuade WinDBG to display integer values in decimal?


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

That works fine. In addition to “Long Unsigned”, there is the “Long”
display format, which works perfectly. It doesn’t append the extra 0’s.

Thanks,

Phil

-----Original Message-----
From: John Hensley [mailto:xxxxx@msn.com]
Sent: Tuesday, August 28, 2001 10:05 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

In WinDbg 2.0.20 there is a “Display Format” drop down menu that allows
you to select Long Unsigned which shows up in the memory window in base
10 format.

…John

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-windbg-
xxxxx@lists.osr.com] On Behalf Of Barila, Phil
Sent: Monday, August 27, 2001 6:51 PM
To: Kernel Debugging Interest List
Subject: [windbg] Is it possible to display memory in base 10?

I am trying to get a quick and dirty dump of a data structure, which
is
all
ULONGs, so I can stuff it into Excel. Excel will deal with hex, sort
of,
but it’s very tedious and unpleasant. So I would like to get WinDBG
to
dump
the values as decimal, so Excel won’t choke on it. I would even be
willing
to cut and paste from the watch window, if it would work, but the
Watch
window docs say:

Integer values are always displayed in hexadecimal, but they are
entered
in
the current radix (unless you specify a different radix prefix). To
change
the current radix, use the N (Set Number Base) command in the Debugger
Command window.

I’ve set the radix to 10 and use DT to dump the struct, which dumps
the
data
values in hex, even with the decimal radix set. Is there any way to
persuade WinDBG to display integer values in decimal?


You are currently subscribed to windbg as: xxxxx@intel.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

There is also the .formats command which evaluates an expression just
like the ? command, but displays the output in multiple formats.

Like this

0:000> .formats 123
Evaluate expression:
Hex: 00000123
Decimal: 291
Octal: 00000000443
Binary: 00000000 00000000 00000001 00100011
Chars: …#

-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Tuesday, August 28, 2001 10:54 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

That works fine. In addition to “Long Unsigned”, there is the “Long”
display format, which works perfectly. It doesn’t append the extra 0’s.

Thanks,

Phil

-----Original Message-----
From: John Hensley [mailto:xxxxx@msn.com]
Sent: Tuesday, August 28, 2001 10:05 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

In WinDbg 2.0.20 there is a “Display Format” drop down menu that allows
you to select Long Unsigned which shows up in the memory window in base
10 format.

…John

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-windbg-
xxxxx@lists.osr.com] On Behalf Of Barila, Phil
Sent: Monday, August 27, 2001 6:51 PM
To: Kernel Debugging Interest List
Subject: [windbg] Is it possible to display memory in base 10?

I am trying to get a quick and dirty dump of a data structure, which
is
all
ULONGs, so I can stuff it into Excel. Excel will deal with hex, sort
of,
but it’s very tedious and unpleasant. So I would like to get WinDBG
to
dump
the values as decimal, so Excel won’t choke on it. I would even be
willing
to cut and paste from the watch window, if it would work, but the
Watch
window docs say:

Integer values are always displayed in hexadecimal, but they are
entered
in
the current radix (unless you specify a different radix prefix). To
change
the current radix, use the N (Set Number Base) command in the Debugger
Command window.

I’ve set the radix to 10 and use DT to dump the struct, which dumps
the
data
values in hex, even with the decimal radix set. Is there any way to
persuade WinDBG to display integer values in decimal?


You are currently subscribed to windbg as: xxxxx@intel.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks. Unless I’m using it improperly (which is highly probable), that’s
not really much more scalable to more than two or three data values than
Excel’s means of dealing with hex. Although it’s not ideal, not by a long
shot, the “Long” format in the memory window is orders of magnitude better
than anything else I’ve found so far.

This whole discussion wouldn’t be necessary if the Watch or Locals windows
could display in multiple bases, instead of hex only.

Phil

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Tuesday, August 28, 2001 12:37 PM
To: Kernel Debugging Interest List
Cc: xxxxx@intel.com
Subject: [windbg] RE: Is it possible to display memory in base 10?

There is also the .formats command which evaluates an expression just
like the ? command, but displays the output in multiple formats.

Like this

0:000> .formats 123
Evaluate expression:
Hex: 00000123
Decimal: 291
Octal: 00000000443
Binary: 00000000 00000000 00000001 00100011
Chars: …#

-----Original Message-----
From: Barila, Phil [mailto:xxxxx@intel.com]
Sent: Tuesday, August 28, 2001 10:54 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

That works fine. In addition to “Long Unsigned”, there is the “Long”
display format, which works perfectly. It doesn’t append the extra 0’s.

Thanks,

Phil

-----Original Message-----
From: John Hensley [mailto:xxxxx@msn.com]
Sent: Tuesday, August 28, 2001 10:05 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

In WinDbg 2.0.20 there is a “Display Format” drop down menu that allows
you to select Long Unsigned which shows up in the memory window in base
10 format.

…John

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-windbg-
xxxxx@lists.osr.com] On Behalf Of Barila, Phil
Sent: Monday, August 27, 2001 6:51 PM
To: Kernel Debugging Interest List
Subject: [windbg] Is it possible to display memory in base 10?

I am trying to get a quick and dirty dump of a data structure, which
is
all
ULONGs, so I can stuff it into Excel. Excel will deal with hex, sort
of,
but it’s very tedious and unpleasant. So I would like to get WinDBG
to
dump
the values as decimal, so Excel won’t choke on it. I would even be
willing
to cut and paste from the watch window, if it would work, but the
Watch
window docs say:

Integer values are always displayed in hexadecimal, but they are
entered
in
the current radix (unless you specify a different radix prefix). To
change
the current radix, use the N (Set Number Base) command in the Debugger
Command window.

I’ve set the radix to 10 and use DT to dump the struct, which dumps
the
data
values in hex, even with the decimal radix set. Is there any way to
persuade WinDBG to display integer values in decimal?


You are currently subscribed to windbg as: xxxxx@intel.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: xxxxx@intel.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,

How should I do to get the following data from memory.dmp?

Someone use “dc explog!ExpLogBuffer”, but I can’t use this command. I don’t
know why…
Anyone know this command?

bfc918b0 202a2a2a 504f5453 7830203a 30303030 *** STOP: 0x0000
bfc918c0 34443030 78302820 44314341 34413833 00D4 (0xAC1D38A4
bfc918d0 3078302c 30303030 2c323030 30307830 ,0x00000002,0x00
bfc918e0 30303030 302c3130 34303878 38453431 000001,0x80414E8
bfc918f0 68542933 72642065 72657669 6c6e7520 3)The driver unl
bfc91900 6564616f 69772064 756f6874 61632074 oaded without ca
bfc91910 6c65636e 676e696c 6e657020 676e6964 ncelling pending
bfc91920 65706f20 69746172 2e736e6f 73696854 operations.This
bfc91930 69726420 20726576 2079616d 61206562 driver may be a
bfc91940 61662074 20746c75 4944573a 532e4143 t fault :WDICA.S
bfc91950 00005359 00000000 00000000 00000000 YS

Thank you, Kimi


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

“.bugcheck” will give you the bug check code & parameters
“!analyzebugcheck -v” will give you even more information about your
crash.

In order for these to work best (especially the !analyzebugcheck) you
need to be running the latest Windbg from
http://www.microsoft.com/ddk/debugging

Someone use “dc explog!ExpLogBuffer”, but I can’t use this command. I
don’t
know why…
If this doesn’t work then 1 of 2 things is probably happening.
Either you don’t have symbols for explog loaded OR the explog module is
not present.

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]

Sent: Tuesday, August 28, 2001 10:16 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Hello,

How should I do to get the following data from memory.dmp?

Someone use “dc explog!ExpLogBuffer”, but I can’t use this command. I
don’t
know why…
Anyone know this command?

bfc918b0 202a2a2a 504f5453 7830203a 30303030 *** STOP: 0x0000
bfc918c0 34443030 78302820 44314341 34413833 00D4 (0xAC1D38A4
bfc918d0 3078302c 30303030 2c323030 30307830 ,0x00000002,0x00
bfc918e0 30303030 302c3130 34303878 38453431 000001,0x80414E8
bfc918f0 68542933 72642065 72657669 6c6e7520 3)The driver unl
bfc91900 6564616f 69772064 756f6874 61632074 oaded without ca
bfc91910 6c65636e 676e696c 6e657020 676e6964 ncelling pending
bfc91920 65706f20 69746172 2e736e6f 73696854 operations.This
bfc91930 69726420 20726576 2079616d 61206562 driver may be a
bfc91940 61662074 20746c75 4944573a 532e4143 t fault :WDICA.S
bfc91950 00005359 00000000 00000000 00000000 YS

Thank you, Kimi


You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try “!analyzebugchk -v”, or look a the help files of WinDbg.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Tuesday, August 28, 2001 10:16 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Hello,

How should I do to get the following data from memory.dmp?

Someone use “dc explog!ExpLogBuffer”, but I can’t use this command. I don’t
know why…
Anyone know this command?

bfc918b0 202a2a2a 504f5453 7830203a 30303030 *** STOP: 0x0000
bfc918c0 34443030 78302820 44314341 34413833 00D4 (0xAC1D38A4
bfc918d0 3078302c 30303030 2c323030 30307830 ,0x00000002,0x00
bfc918e0 30303030 302c3130 34303878 38453431 000001,0x80414E8
bfc918f0 68542933 72642065 72657669 6c6e7520 3)The driver unl
bfc91900 6564616f 69772064 756f6874 61632074 oaded without ca
bfc91910 6c65636e 676e696c 6e657020 676e6964 ncelling pending
bfc91920 65706f20 69746172 2e736e6f 73696854 operations.This
bfc91930 69726420 20726576 2079616d 61206562 driver may be a
bfc91940 61662074 20746c75 4944573a 532e4143 t fault :WDICA.S
bfc91950 00005359 00000000 00000000 00000000 YS

Thank you, Kimi


You are currently subscribed to windbg as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thank you, I have know !analyzebugchk -v. now I want to get strings
appearred on the blue sceen.
so I think that dc explog!ExpLogBuffer is good for me. so if anyone know
same command, please teach me.

explog’s symbol is the hard vendor’s symbol?
In general, I can’t find explog’s symbol…

p.s. I want to know good book to learn to debugging techniq, what is your
recommendation?

Kimi

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Thursday, August 30, 2001 12:48 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Try “!analyzebugchk -v”, or look a the help files of WinDbg.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Tuesday, August 28, 2001 10:16 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Hello,

How should I do to get the following data from memory.dmp?

Someone use “dc explog!ExpLogBuffer”, but I can’t use this command. I don’t
know why…
Anyone know this command?

bfc918b0 202a2a2a 504f5453 7830203a 30303030 *** STOP: 0x0000
bfc918c0 34443030 78302820 44314341 34413833 00D4 (0xAC1D38A4
bfc918d0 3078302c 30303030 2c323030 30307830 ,0x00000002,0x00
bfc918e0 30303030 302c3130 34303878 38453431 000001,0x80414E8
bfc918f0 68542933 72642065 72657669 6c6e7520 3)The driver unl
bfc91900 6564616f 69772064 756f6874 61632074 oaded without ca
bfc91910 6c65636e 676e696c 6e657020 676e6964 ncelling pending
bfc91920 65706f20 69746172 2e736e6f 73696854 operations.This
bfc91930 69726420 20726576 2079616d 61206562 driver may be a
bfc91940 61662074 20746c75 4944573a 532e4143 t fault :WDICA.S
bfc91950 00005359 00000000 00000000 00000000 YS

Thank you, Kimi


You are currently subscribed to windbg as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com

What information do you think the strings on the blue screen will give
you that you can’t get directly from the debugger?

The bug check information you can get with .bugcheck and !analyzebugchk
-v
The loaded modules you can get with lm.

What other information is shown on the screen with a machine crashes?

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]

Sent: Friday, August 31, 2001 9:44 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Thank you, I have know !analyzebugchk -v. now I want to get strings
appearred on the blue sceen.
so I think that dc explog!ExpLogBuffer is good for me. so if anyone know
same command, please teach me.

explog’s symbol is the hard vendor’s symbol?
In general, I can’t find explog’s symbol…

p.s. I want to know good book to learn to debugging techniq, what is
your
recommendation?

Kimi

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Thursday, August 30, 2001 12:48 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Try “!analyzebugchk -v”, or look a the help files of WinDbg.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Tuesday, August 28, 2001 10:16 PM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Is it possible to display memory in base 10?

Hello,

How should I do to get the following data from memory.dmp?

Someone use “dc explog!ExpLogBuffer”, but I can’t use this command. I
don’t
know why…
Anyone know this command?

bfc918b0 202a2a2a 504f5453 7830203a 30303030 *** STOP: 0x0000
bfc918c0 34443030 78302820 44314341 34413833 00D4 (0xAC1D38A4
bfc918d0 3078302c 30303030 2c323030 30307830 ,0x00000002,0x00
bfc918e0 30303030 302c3130 34303878 38453431 000001,0x80414E8
bfc918f0 68542933 72642065 72657669 6c6e7520 3)The driver unl
bfc91900 6564616f 69772064 756f6874 61632074 oaded without ca
bfc91910 6c65636e 676e696c 6e657020 676e6964 ncelling pending
bfc91920 65706f20 69746172 2e736e6f 73696854 operations.This
bfc91930 69726420 20726576 2079616d 61206562 driver may be a
bfc91940 61662074 20746c75 4944573a 532e4143 t fault :WDICA.S
bfc91950 00005359 00000000 00000000 00000000 YS

Thank you, Kimi


You are currently subscribed to windbg as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to windbg as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-windbg-$subst(‘Recip.MemberIDChar’)@lists.osr.com