2

I'm debugging in Android Studio and I'm trying to select xml value of a variable to check it's structure. But i can't select the value. Neither cmd+c nor cmd+v works and right click is unavailable too.

enter image description here

Zin Win Htet
  • 2,448
  • 4
  • 32
  • 54

2 Answers2

4

You can right click on your variable "writer". Then there is option "Copy Value" and simply use that.

other way: when app in debug mode, right click on variable and select "Evaluate Expression" and then copy value.

Rohit
  • 3,401
  • 4
  • 33
  • 60
0

If you are using mac, firstly check which keymap is set on your AndroidStudio. - At Top Left AndroidStudio-> Preferences -> Keymap --> then from dropdown of keymaps select Eclipse for keymaps apply and ok. Then you can use control+c for copy and control+v for paste while debugging.

  • If you set keymaps Eclipse(Mac) then for copy use command+c and paste use command+v