jadx icon indicating copy to clipboard operation
jadx copied to clipboard

[feature] .class file debugger (local, remote)

Open fetzerms opened this issue 2 years ago • 1 comments

Describe your idea

I am mainly using jadx to decompile .class files that run on arbitrary systems. Currently jadx only allows to debug via adb, which is somewhat targeted towards android. This is a request to allow debugging of local (or remote) java processes via jdwp.

I checked the code and saw, that SmaliDebugger.java already works with jwdp (but via ADB). I could imagine, that many of it's code could be reused for a local jdwp session.

If given some general pointers, I'd also be happy to try to tackle this on my own.

fetzerms avatar Feb 05 '24 11:02 fetzerms

@fetzerms not sure why you want to use jadx for debugging. I think IntelliJ IDEA debugger is a much better (even for Android) now. Because jadx debugger now in a very bad shape (lots of issues) and work only with bytecode view (no sync with decompiler code). Also, as you mentioned, it is hard bound to Android and smali bytecode, so support java bytecode will be hard. Anyway, if you really want to you can try to implement this feature, PRs are always welcome :slightly_smiling_face:

skylot avatar Feb 05 '24 18:02 skylot