-
Notifications
You must be signed in to change notification settings - Fork 623
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
freeline.py 能不能加一个参数可以让debugger连接上后再让app继续运行 #195
Comments
@smoothdvd 不能运行之后在IDE使用attach debugger吗?直接使用debugger来编译的话,freeline的功能是无法生效的。 |
@lomanyong 我的意思是能不能让freeline去执行adb shell am set-debug-app -w packagename,这样app就是一直等待直到debugger attach上之后才开始真正执行。运行之后在IDE使用attach debugge的话有些代码已经执行了。 |
@smoothdvd 了解,也可以解决。还有,其实现在最简单实现的方法是,你可以在启动的时候加个Thread.sleep(5000);,也能够暂时解决你要的问题。 |
@lomanyong OK。这个问题不急。 |
@smoothdvd 全量编译启动的时候加入了 在0.8.2发布中加入. |
我现在是每次手动adb shell am set-debug-app -w packagename
The text was updated successfully, but these errors were encountered: