Hi,
Is there a way to show the numbers in ‘watch window’ in hex format? I cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
Regards,
Ray Yang
xxxxx@ybwork.com
Hi,
Is there a way to show the numbers in ‘watch window’ in hex format? I cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
Regards,
Ray Yang
xxxxx@ybwork.com
I know this isn't quite what you had in mind, but I find that, in the
'locals' or 'watch' windows, if you change the type used to display
integer variables to unsigned, they get displayed in hex. For example,
changing the type of a 'long' to 'unsigned long' will do the trick.
It's a pain, but it does work.
-----Original Message-----
From: Ray Yang [mailto:xxxxx@ybwork.com]
Sent: Thursday, March 27, 2003 12:22 AM
To: Kernel Debugging Interest List
Subject: [windbg] Dec to Hex and shortcuts
Hi,
Is there a way to show the numbers in 'watch window' in hex
format? I cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
You are currently subscribed to windbg as:
xxxxx@avid.com
To unsubscribe send a blank email to
xxxxx@lists.osr.com
Messagethanks. but it's really terrible when i change many dec values to hex format with a caculator - especially for those NTSTATUS valus, all are in hex format. ![]()
what about the developers of WinDbg? don't they like hex numbers?
Regards,
Ray Yang
xxxxx@ybwork.com
----- Original Message -----
From: Mitch Kuninsky
To: Kernel Debugging Interest List
Sent: Thursday, March 27, 2003 11:02 PM
Subject: [windbg] RE: Dec to Hex and shortcuts
I know this isn't quite what you had in mind, but I find that, in the 'locals' or 'watch' windows, if you change the type used to display integer variables to unsigned, they get displayed in hex. For example, changing the type of a 'long' to 'unsigned long' will do the trick. It's a pain, but it does work.
-----Original Message-----
From: Ray Yang [mailto:xxxxx@ybwork.com]
Sent: Thursday, March 27, 2003 12:22 AM
To: Kernel Debugging Interest List
Subject: [windbg] Dec to Hex and shortcuts
Hi,
Is there a way to show the numbers in 'watch window' in hex format? I cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
You are currently subscribed to windbg as: xxxxx@ybwork.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
I’m amazed you seen them in decimal. I always thought that the hexadecimal is the default for integers. Though, it might be long integers confused you so far. Try these commands
N 16; .enable_long_status 1Regards,
Timur Safin
“Ray Yang” wrote in message news:xxxxx@windbg…
Hi,
Is there a way to show the numbers in ‘watch window’ in hex format? I cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
Regards,
Ray Yang
xxxxx@ybwork.com
Historically the debugger has been treating display of signed values as
decimal and unsigned values as hex. That is the primary motivator for
.enable_long_status (for displaying NTSTATUS values correctly). Like
Timur says, you can “.enable_long_status 1” to switch display of all
LONG values to hex.
Or there is a new command “.force_radix_output 1” to force all values to
be displayed in the default base (which is normally 16).
Both commands are documented in debugger.chm. I believe they both
affect the watch window as well as the locals window. And, of course,
they will affect all output in the command window.
-----Original Message-----
From: Timur Safin [mailto:xxxxx@lantel.ru]
Sent: Saturday, March 29, 2003 1:50 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Dec to Hex and shortcuts
I’m amazed you seen them in decimal. I always thought that the
hexadecimal is the default for integers. Though, it might be long
integers confused you so far. Try these commands
N 16; .enable_long_status 1
Regards,
Timur Safin
“Ray Yang” wrote in message news:xxxxx@windbg…
Hi,
Is there a way to show the numbers in ‘watch window’ in hex format? I
cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
Regards,
Ray Yang
xxxxx@ybwork.com
—
You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks, it works now.
Regards,
Ray Yang
xxxxx@ybwork.com
----- Original Message -----
From: “David Holcomb”
To: “Kernel Debugging Interest List”
Sent: Sunday, March 30, 2003 7:38 AM
Subject: [windbg] Re: Dec to Hex and shortcuts
Historically the debugger has been treating display of signed values as
decimal and unsigned values as hex. That is the primary motivator for
.enable_long_status (for displaying NTSTATUS values correctly). Like
Timur says, you can “.enable_long_status 1” to switch display of all
LONG values to hex.
Or there is a new command “.force_radix_output 1” to force all values to
be displayed in the default base (which is normally 16).
Both commands are documented in debugger.chm. I believe they both
affect the watch window as well as the locals window. And, of course,
they will affect all output in the command window.
-----Original Message-----
From: Timur Safin [mailto:xxxxx@lantel.ru]
Sent: Saturday, March 29, 2003 1:50 PM
To: Kernel Debugging Interest List
Subject: [windbg] Re: Dec to Hex and shortcuts
I’m amazed you seen them in decimal. I always thought that the
hexadecimal is the default for integers. Though, it might be long
integers confused you so far. Try these commands
N 16; .enable_long_status 1
Regards,
Timur Safin
“Ray Yang” wrote in message news:xxxxx@windbg…
Hi,
Is there a way to show the numbers in ‘watch window’ in hex format? I
cannot find a setting in WInDbg to do this.
And, can I define some shortcuts as some commands in WinDbg?
Regards,
Ray Yang
xxxxx@ybwork.com
—
You are currently subscribed to windbg as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to windbg as: xxxxx@ybwork.com
To unsubscribe send a blank email to xxxxx@lists.osr.com