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

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -