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
Post a Comment