I am trying to debug an application on my device and am having problems with the debugger. I tried checking the logger to see if it would be written to Logcat as follows:
Log.d("MyActivity", "Testing logging...");
But nothing is displayed in Logcat with the filter app: com.myapp.debug . This happens when I just filter the string (using my application name), but the entry looks like this:
01-08 13:45:07.468 29748-29748/? D/MyActivity﹕ Testing logging...
Does this question mark mean that something in the application does not go through the debugger? This may relate to my second problem with the debugger:
I debug the crash and every time this happens, the phone simply displays a “not responding” message and then closes the current activity, disables the debugger, and the application continues to work with the previous action. No stack trace, no crash info, nothing. Is there something I need to set up in Android Studio to get this to work?
source share