How to display the values of the Cursor using Debugger in Android Studio?

1

I'm very used to just using Logcat while I'm debugging an app. But I realize that

asked by anonymous 02.07.2018 / 21:39

1 answer

2

What you can see directly by debugger on the Variables tab is the value of the fields of an object (variables) p>

The Cursor object has no field with the values of the columns of the current position. They are obtained through the use of methods.

Debugger has a feature called Evaluate Expression that allows the calculation of Java expressions, including the method call. Use it to inspect the value of each column by calling these methods.

    
03.07.2018 / 15:41