简体   繁体   中英

How to debug android apps running in background and Foreground

当我们从前台删除应用程序时,logcat 会充满其他东西。

If you have an app running on your device and you want to attach a debugger to its process then you can hit the "Attach Debugger" button as shown in the image below:

附加调试器按钮

Then select the process you want to debug. You can only do this with your own apps of course.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM