当前位置: 动力学知识库 > 问答 > 编程问答 >

java - Android Studio see byte[] as string in debugger

问题描述:

I am trying to debug some data, and I have a byte[] that I know has text in it. But I can't figure out how to view it as text, or even get a hex representation that I could convert to text. I have tried creating a custom type converter that uses 'new String(this)', but then it just shows 'instance of java.lang.String'

Note: I am using Android Studio, which is build on IntelliJ

网友答案:
  1. Customize String Data View

  1. View as string

分享给朋友:
您可能感兴趣的文章:
随机阅读: