Android Studio debugger View Bitmap

后端 未结 2 969
一向
一向 2020-12-28 13:34

\"enter As of release 0.8.7 of Android Studio there\'s supposed to be a Bitmap viewer in the d

相关标签:
2条回答
  • 2020-12-28 14:16

    I'm on Android Studio 1.3 and I didn't find 'View Bitmap' option in the context menu. Turns out that this option now sits right next to every Bitmap variable in the debugger's 'Variables' window:

    enter image description here

    0 讨论(0)
  • 2020-12-28 14:28

    First run your program in debug mode by using Shift+F9 and set a breakpoint right after the bitmap object you want to investigate is created. Once the debugger pauses at the breakpoint hover over the bitmap variable and right click and select View Bitmap and that's all you need to view it.

    View bitmap in debug mode

    0 讨论(0)
提交回复
热议问题