Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app_lifecycle无数据输出 #149

Open
run-noob opened this issue Jul 19, 2024 · 2 comments
Open

app_lifecycle无数据输出 #149

run-noob opened this issue Jul 19, 2024 · 2 comments

Comments

@run-noob
Copy link

  1. app_lifecycle无数据输出
    手机:iphone11;系统:15.7
    执行app_lifecycle.py后,只启动了app,然后一直无数据。完整输出如下:
    start com.yy.kiwizzh pid:35226
    2024-07-18 18:33:20 [WARNING] [Instrument] dvt.py[line:248] socket connection close
    2024-07-18 18:33:20 [WARNING] [Instrument] dvt.py[line:248] socket connection close
  2. 另外想请教下大佬,是怎么知道app_lifecycle数据的解析流程的,哪里有参考资料。我现在有想通过instruments获取内存的堆栈相关信息,目前只知道用xctrace record命令录制trace文件,然后解析该trace文件,不知道如何实时去获取相关信息。看了下app_lifecycle的实现,想了解下你是如何知道该用rpc.call哪个服务,传什么参数,然后如何解析这些数据
@YueChen-C
Copy link
Owner

1.多试试几次,还有就是 app_lifecycle 不能和其他 lnstruments 协议的程序共同使用,建议重启后直接调 app_lifecycle ,避免如 tidevide 等影响
2. 没有参考资料,都是从 xcode instruments 工具里面里面把拔出来的

@run-noob
Copy link
Author

那大佬也没有总结过相关的步骤方法嘛?如果有相关总结供大家学习,就可以有更多人参与进来了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants