Android 用于功能测试界面的例子
1 | <?xml version="1.0" encoding="utf-8"?> |
打印堆栈调用的例子
- 必要的代码(没有深究)
1 |
|
- 然后在需要打印堆栈调用的地方放置如下代码
1 | const size_t maxStackDeep = 20; |
启动模拟器
./emulator -avd Nexus_6_API_23_armv7 -netspeed full -netdelay none
Just a Space
1 | <?xml version="1.0" encoding="utf-8"?> |
1 | #include <unwind.h> |
1 | const size_t maxStackDeep = 20; |
./emulator -avd Nexus_6_API_23_armv7 -netspeed full -netdelay none