package com.android.internal.telephony.dataconnection;
public abstract class DcTrackerBase extends Handler {
protected BroadcastReceiver mIntentReceiver = new BroadcastReceiver ()
{
@Override
public void onReceive(Context context, Intent intent)
{
String action = intent.getAction();
if (DBG) log("onReceive: action=" + action);
[...]
在上面的代码中jdb
,我想在onReceive
方法上设置一个断点。我使用了以下命令:
> stop in com.android.internal.telephony.dataconnection.DcTrackerBase$mIntentReceiver.onReceive
我从jdb
:
> Deferring breakpoint com.android.internal.telephony.dataconnection.DcTrackerBase$mIntentReceiver.onReceive.
It will be set after the class is loaded.
我知道该类已经加载,所以我想 jdb 没有找到我想要的方法。那我应该如何设置断点?