使用Logcat来查找代码行的位置 [英] Using Logcat to find where the line of code originates from
问题描述
Eclipse Kepler服务版本2
您好, p>
这是使用已导入Eclipse的Linphone源代码。
我正在尝试找到推送通知
代码行是。但是,我在Linphone源代码中找不到任何地方。因为我没有自己写这个log语句,我不知道它在哪里。
我想调试首次收到推送通知的地方。
有没有从logcat找到这行代码?
非常感谢任何建议,
它在GCMService.java的第50行,如repo中的这个文件所示:
https://github.com/viv /linphone-android/blob/master/src/org/linphone/gcm/GCMService.java
Eclipse Kepler Service Release 2
Hello,
This is using the Linphone source code that has been imported into Eclipse.
I am trying find where the Push notification received
line of code is. However, I can't find it anywhere in the Linphone source code. As I didn't write that log statement myself I don't know where it is.
I would like to debug where the push notification is first received.
Is there anyway finding this line of code from logcat?
Many thanks for any suggestions,
It is on line 50 of GCMService.java as seen in this file in the repo :
https://github.com/viv/linphone-android/blob/master/src/org/linphone/gcm/GCMService.java
这篇关于使用Logcat来查找代码行的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!