View values as hexidecimal by default while debugging in Android Studio

旧巷老猫 提交于 2019-12-11 20:55:20

问题


My question is similar to "Android Studio" debugging - display variables as hexadecimal, but I want to know how to make this the default setting.

I know how to change the setting for individual values:

but for checking the values of all the characters in long strings, this becomes tedious. Unicode characters are much more readable when displayed in hex. Is there any way to set this as the default in Android Studio? I looked in File > Settings > Debugger but I didn't see anything.


回答1:


Right click to get the context menu and choose "Custimize Data Views...".

Then check "Show hex values for primitives".

Now the values should automatically display in hexadecimal without having to manually change each one.



来源:https://stackoverflow.com/questions/29935784/view-values-as-hexidecimal-by-default-while-debugging-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!