-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
怎样对插件的消息调试并下断点 如:LAUNCH_ACTIVITY ? #232
Comments
这是日志 :分别为两个进程 :宿主 28599,插件: 29969 ,我想调试 29969 的 LAUNCH_ACTIVITY 的消息,在Androidstudio 中对PluginCallback下了断点但无法断下来,请教大家调试插件程序的方法 I/PluginCallback(28599): handleMessage(101,PAUSE_ACTIVITY) cost 1708 ms |
你可以这样做,先在load application的地方做一个while(true),然后启动程序,跑插件程序,应该这个时候就会被while卡住。使用debug attach到client进程,再通过跳转到指定行这样的手段强制运行即可 |
我测试在PluginCallback 下断点没有效果 ,应该这是宿主程序,不是插件程序,但调试触发插件的消息,应该怎么弄呢?
The text was updated successfully, but these errors were encountered: