Questions tagged [android-studio-debugger]

5 questions
2
votes
1 answer

How can I debug java.time classes in an Android app with desugaring enabled?

In the app that I develop we use ZonedDateTime and some other classes from java.time package very often. And from time to time there is a need for debugging. I am facing such problems as: methodNotFound exception when I try to invoke a getter for a…
Inliner
  • 1,061
  • 7
  • 10
1
vote
1 answer

null safety ON in Flutter ModalRoute breaks the args passed to RouteSettings arguments

It drives me nuts that Flutter example on official documentation page for passing arguments to a named route fails with null-safety turned ON. Here's the example I am trying to debug. There's a Consumer building a list view with ListView.builder…
boldnik
  • 2,547
  • 2
  • 27
  • 32
0
votes
1 answer

Java public field accessible in debugger but not in Kotlin code

Why the following public field of the class android.util.DisplayMetrics: public float noncompatDensity; is visible in the debugger: but not available in code? I'm using Android Studio Bumblebee | 2021.1.1 Patch 3
Simone
  • 1,418
  • 15
  • 22
0
votes
1 answer

What are the new 'p' variables in Android Studio debugger variables pane?

Recently I've installed the Bumblebee version of Android Studio and I've remarked strange new fields marked with p icon and ...get() in my debugger variables pane. I haven't found any info about these fields, so maybe you can answer? They are so…
0
votes
1 answer

Debugger Not Connecting While App Is Running

I've this one app with which the Debugger fails to connect or identify each time. When I click on the Debug button new debug window only shows the device and not the process. I've tried running the same app on a real device and an emulator, in both…
Abbas
  • 3,529
  • 5
  • 36
  • 64