debugging - Android debug confusion -


as far know, debuggers work based on system calls ptrace in linux, block tracee , tracer informations tracee's memory. means, if want use debugger debug main thread in android app process, block main thread , wait operations, may cause main thread anr in few seconds. confused possible debug main thread in android app process , how?

correct, adp uses ptrace , blocks main thread , causes application slow down while in debug mode. if step step debugging thread put breakpoint in halted completely. general debugging purposes should not issue. testing how smooth application runs should done in run mode , not in debug mode.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -