Alt+b
Once you’ve done this, be sure to encase the string you want to find in “”. For example:
Ctrl + Alt + b
Find an activity in a package that you want to look at
Click Debugger -> Debugger options -> Set specific options
Set the ADB executable (you can find this with which adb)
Click Fill from AndroidManifest.xml
Find the APK or AndroidManifest.xml associated with
the package you’re interested in
If an Activity isn’t populated, specify the Activity manually
Click OK
Next you’ll need to do a port forward:
pid="$(adb shell ps -A | grep packagename | awk -F' ' '{print $2}')"
adb forward tcp:23915 jdwp:$pid
Confirm that it’s working:
Start the debugger by pressing F9