After successfull setup Android Studio to debug some default process like Calculator or com.android.server.telecom, I'm trying to debug the WifiService "process".
However, the WifiService class is execute in thread into "system_process" process.
Currently, to debug a process, I use Android Device Monitor to launch ddms, and in (on phone under lollipop) Settings > Developer options > Select debug app, and I select my process as well.
But the system_process doesn't appear. As when you select the process, Android kill it and are waiting for a new execution, I understand why it is not list (if you choose it the phone couldn't be run !).
So... How can I debug the processus ? Are there any other way ?
Even if there are just a way to debug a SystemService (ie : here the wifi who interest me), it could be gratefull to know that.
Thank.