常用smail

stackTrace

invoke-static{},Ljava/lang/Thread;->dumpStack()V

method trace(需要read write权限)

invoke-static{},Landroid/os/Debug;->startMethodTracing()V
invoke-static{},Landroid/os/Debug;->stopMethodTracing()V

wait for debugger

invoke-static{},Landroid/os/Debug;->waitForDebugger()V
Log.d(TAG,Log.getStackTraceString(new Throwable()));

你可能感兴趣的:(常用smail)