Using Logcat to find where the line of code originates from

杀马特。学长 韩版系。学妹 提交于 2019-12-11 07:51:32

问题


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,


回答1:


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



来源:https://stackoverflow.com/questions/27699525/using-logcat-to-find-where-the-line-of-code-originates-from

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!