-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add log messages in initialization phase #1362
Conversation
Oh, this is actually a bug, looks like I messed up at
here should be if (logLevel == LogLevelEnum.PROGRESS) { And, after that change, we can see logs from JadxDecompiler class in verbose:
Here are my thoughts:
@yotamN please apply my fix and recheck your changes.
What kind of bug? Are you trying to develop your own plugin? I am just curious 😄 |
2910293
to
42dc627
Compare
I fixed everything you said and added a fix to show the logs from
I'm using Jadx nightly as a library to decompile some APKs so I built it myself and when I worked on it from Intellij it worked great but when I built it myself as an uberjar and run it inside Flatpak it found 0 classes because all the plugins except one were missing. I'm still not sure why the If I could manage to extract a reproducible example I will open an issue. |
This can happen if plugin services files were overridden (same file with same path in all plugins). shadowJar {
mergeServiceFiles()
}
Well, you can add it, but in your case this will not help, because it will not appear. |
I will try it, thanks!
Why will it not appear? |
Incorrect plugin will return empty |
Fair, so I think you can merge it as is if it's okay by you |
I've had to resort to some print debugging because of a bug that occurred only outside Intellij, I've added a few logs that I think could be useful to others as well.
One thing to note: I don't think I saw the loaded input files message even in debug mode, not sure if it's a bug with the verbose flag