DexPatcher / dexpatcher-gradle

Modify Android applications at source-level in Android Studio
https://dexpatcher.github.io/
GNU General Public License v3.0
83 stars 17 forks source link

smali debug #16

Closed samogot closed 5 years ago

samogot commented 7 years ago

Can you add tasks for generating smali code for debuging using https://github.com/JesusFreke/smali/wiki/smalidea or apktool debug mode for source and/or patched apps

If it possible to debug patched methods as java code and code of source app as smali - it would be ideal

Lanchon commented 7 years ago

right now IDEA is able to decompile the source app to non-functional java source. just click deep into the libraries in your project.

i don't use smalidea. actually, i've never used any debugger in any platform at all; for good or bad, i just printf :) so i don't have experience.

i could add smali output (via apktool only) on next release (when there is one!). the output would be on the source project. would this be enough to run smalidea?

what happens in android studio when you debug an apk for which you have no source? doesn't it show the dalvik bytecode being executed somehow? doesn't this work when using dexpatcher-gradle?

what is smalidea anyway? isn't it a gradle plugin to build an APK from smali source and debug through the smali source? then this isn't applicable to dexpatcher. dexpatcher does not go though smali, it patches the dalvik bytecode directly.

Lanchon commented 5 years ago

closed due to inactivity