Smali Debugger

Smali Debugger in jadx-gui

Prerequisites

Warning: Android Studio interferes with the jadx debugger. Close Android Studio before attaching to a process in jadx.

Features

Keyboard Shortcuts

KeyAction
F2Set / remove breakpoint
F7Step into
F8Step over
Shift + F8Step out
F9Run (continue)

Usage

1. Make the App Debuggable

Launch the target app with the wait-for-debugger flag set, or use a rooted device to inject the debuggable flag at runtime. jadx will detect the waiting process via adb.

2. Connect via adb

Use the adb panel inside jadx-gui to select the device and target process. jadx searches ANDROID_HOME and PATH for the adb binary automatically.

3. Debug in Smali View

Note: Breakpoints and the current debug-position highlight only work inside the smali viewer when Show dalvik bytecode mode is active.
This mode is activated automatically on attach; if not, enable it from the right-click popup menu in the smali view.

Once attached: