-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Smali debugger
skylot edited this page Jan 27, 2024
·
4 revisions
- single step
- set breakpoint
- modify register value
- modify fields of object
-
F2set/remove breakpoint -
F7step into -
F8step over -
Shift + F8step out -
F9run
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.
