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.
Asked
Active
Viewed 2,349 times
2
-
1Print it to the logcat instead? – OneCricketeer Aug 05 '16 at 04:41
-
1first Right click on Writer then choose copy value and paste whenever you want – Nitesh Pareek Aug 05 '16 at 04:45
-
try this way to print http://stackoverflow.com/questions/7606077/how-to-display-long-messages-in-logcat – Android Surya Aug 05 '16 at 04:55
-
@cricket_007, may be, I should do so. – Zin Win Htet Aug 05 '16 at 07:19
-
1@NiteshPareek, it doesn't work. I only get redstone.xmlrpc.XmlRpcClient#writer – Zin Win Htet Aug 05 '16 at 07:20
-
@NiteshPareek, it works, thanks. – Zin Win Htet Aug 05 '16 at 10:38
2 Answers
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

Vindhya Pratap Singh
- 556
- 5
- 20