Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Android Studio" debugging - display variables as hexadecimal

I've recently moved from Eclipse to Android Studio, and it looks great. However, I can't seem to find how to display variables in debugging mode as hexadecimal values instead of decimal values. Any help would be appreciated. Thanks

like image 667
isgooner Avatar asked Jul 03 '13 11:07

isgooner


1 Answers

I was wondering the same thing, especially how to do this by default as @adnako asked. I finally found an answer so I will post here, too.

Manually change a single value

Right click > View as... > Hex

enter image description here

Display all values as hex by default

Right click > Custimize Data Views... > Show hex values for primitives > Apply

enter image description here

(Note: these images are from Android Studio 1.2)

like image 101
Suragch Avatar answered Oct 12 '22 15:10

Suragch