
android_调试
夜风雪
从事android框架开发工作
展开
-
Android中的top命令 个字段的意思
PID PR CPU% S #THR VSS RSS PCY UID Name 1314 0 0% R 1 1000K 392K fg r转载 2013-05-17 10:08:34 · 5509 阅读 · 0 评论 -
logcat使用方法如下所示:
logcat使用方法如下所示: logcat [options] [filterspecs]logcat的选项包括:-s 设置过滤器,例如指定 '*:s'-f 输出到文件,默认情况是标准输出。-r [] Rotate log every kbytes. (16 if unspecified). Requires -f-n Sets max number of rotat转载 2013-07-23 13:12:48 · 989 阅读 · 0 评论 -
审阅代码步骤
review 后 再 resolve原创 2013-09-23 17:17:32 · 881 阅读 · 0 评论 -
烧版本步骤 boot system userdata
langu@langu:~$ adb reboot bootloaderlangu@langu:~$ fastboot flash boot '/media/boot.img' sending 'boot' (5148 KB)...OKAY [ 0.171s]writing 'boot'...OKAY [ 0.756s]finished. total time: 0.9原创 2013-09-24 09:48:38 · 1494 阅读 · 0 评论 -
查看kernel log
adb shell cat /proc/kmsg > log.txt保存kernel log转载 2013-11-07 14:45:27 · 2187 阅读 · 0 评论 -
Android内存使用——垃圾回收LOG,GC_CONCURRENT等的意义的说明(有用)
在调试程序的时候,经常发现GC_CONCURRENT之类的打印。在网上搜了一下,感觉说法各式各样。最后,在Google的官方网站上发现了详细介绍。Every time a garbage collection occurs, logcat prints a message with the following information:D/dalvikvm: , , , GC转载 2014-11-07 16:48:31 · 4392 阅读 · 0 评论 -
Android C++层LOG_NDEBUG
转自:http://blog.youkuaiyun.com/flyingqr/article/details/64073631. 下面是控制哪些log输出的宏/* * Normally we strip ALOGV (VERBOSE messages) from release builds. * You can modify this (for example with "#defi转载 2014-11-12 15:21:38 · 8561 阅读 · 0 评论 -
print log trace (I forgot it )
+ Log.d("langxw", Log.getStackTraceString(new Throwable()));^M+ Log.d("langxw", "RuntimeException", new RuntimeException());^M原创 2016-09-09 16:27:15 · 428 阅读 · 0 评论