Whole day i am trying to debug my app with Java Field Watchpoints, set on any type of field : string , int ... but it just wont stop. I am using tablet with 4.4.2 android and 2.0 Android Studio. Breakpoints work normally.
Asked
Active
Viewed 3,043 times
1
-
are you starting the app with the debugger attached ? – Blackbelt Apr 15 '16 at 13:04
-
of course. i am not total begginer – CrazyFox Apr 15 '16 at 13:05
-
does the breakpoint has an x inside red circle ? – Blackbelt Apr 15 '16 at 13:05
-
nop. it is labeld "-" – CrazyFox Apr 15 '16 at 13:06
1 Answers
-1
You can break on value changes of some variables in Android Studio.
Android Studio calls them 'Java Field Watchpoints'.
From the breakpoints windows, (Run -> "View breakpoints...") or Ctrl+Shift+F8, you can add "Java Field Watchpoints" from the plus in the top left corner, and then select your class and variable

sandeep singh
- 7
- 4
-
5tnx mate i appreciate it very much that you wana help , but i already know all that . Point is it does not work. – CrazyFox Apr 15 '16 at 13:20