Eclipse debug模式下使用16进制(Hex)查看变量值

转载自:http://blog.csdn.net/jinhill/article/details/5767035


因为工作中需要查看byte[]原始编码,eclipse中debug模式下默认查看byte使用10进制显示,上网查找发现配置为16进制(Hex)显示的办法,记录下来备忘 

在debug模式试图下,Variables试图窗内 View Menu->Java Preferences... 

在打开的对话框中Primative Display Options中选中Display hexadecimal values即可 

最后在debug时查看byte值就会显示对应16进制编码内容

posted @ 2014-02-13 15:26  奋斗中的毛毛虫  Views(717)  Comments(0Edit  收藏  举报