openstf / STFService.apk

Monitor and perform various actions on your Android device. Not meant for actual user devices.
Other
242 stars 207 forks source link

how to debug in Agent.java #9

Closed larryzhuo closed 7 years ago

larryzhuo commented 7 years ago

I have add some code in agent. but i don't know how to debug it. if it was in some activity like IdentityActivity.java, I can use Toast.makeToaster.

sorry, I am not a android developer

sorccu commented 7 years ago

You can use System.err.println("message") and just look at the output. No alerts in the UI.

sorccu commented 7 years ago

You should also be able to bind the Android Studio debugger to the process and set a breakpoint somewhere.

larryzhuo commented 7 years ago

ok. thank you