-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Work with reversed application's source #130
Comments
To give more details. This (https://stackoverflow.com/a/58969794) but in VS code utilizing your extension. |
If the decompiler produces valid Java code which matches the line numbers encoded in the app debug info, I think this should work. I would suggest:
That should be enough to allow the debugger to find the package-name folders and the java source files. If your decompiler has produced a good Java file, everything should then match up and your breakpoints should be hit. |
Thanks, I get your point. In my case, I'm using I'm not sure if the decompiled code will have the same lines (sequence) as the original order. I think I've been having some issues in Android studio because of this as well since the bytecode doesn't match the Java code (in sequence/line numbers). |
Yes, it's a common problem with decompilers - the line numbers are encoded in the compiled files so the decompiled files should be formatted to match, but many don't bother which makes debugging very difficult. It looks like there is already an issue about this in |
Closing this one. |
Hi,
Is it possible to make the extension work with source of decompiled applications (apks) using jadx or d2j-dex2jar? I've been trying to make it work with apks I have but it doesn't hit the breakpoints of those.
I guess it has to do something with the path of the application etc. which isn't being satisfied.
The text was updated successfully, but these errors were encountered: