-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Smali debugger
skylot edited this page Jan 27, 2024
·
4 revisions
- single step
- set breakpoint
- modify register value
- modify fields of object
-
F2
set/remove breakpoint -
F7
step into -
F8
step over -
Shift + F8
step out -
F9
run
For debugging, you must have:
adb
- a debuggable app, or a rooted device/emulator that can make apps debuggable.
Debugger will search ANDROID_HOME and PATH to look for adb
.
Warning
Android Studio can interfere with jadx debugger, so it is better to close it before attaching to process in jadx.
- Setting up an app to debug:
- Adb usage:
- Debugging:
Note
Breakpoints and current debug position highlight works only in smali viewer in Show dalvik bytecode
mode.
This mode should be activated automatically, if not, you need to enable it from right-click popup menu in smali view.