mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 06:34:25 +02:00
Now adding line breakpoints when debugging should be easier in Eclipse, Netbeans and IDEA.
This commit is contained in:
parent
ed0e4eb64c
commit
fba0918b80
@ -86,17 +86,17 @@ public class SmaliDecoder {
|
||||
file.resolveSibling(fileName + ".java"), Charset.defaultCharset())
|
||||
) {
|
||||
TypeName type = TypeName.fromPath(mOutDir.relativize(file.resolveSibling(fileName)));
|
||||
out.write("package " + type.package_ + "; class " + type.getName(true, true) + " {");
|
||||
out.write("package " + type.package_ + "; class " + type.getName(true, true) + " { void a() { int a;");
|
||||
out.newLine();
|
||||
|
||||
String line;
|
||||
while ((line = in.readLine()) != null) {
|
||||
out.write("// ");
|
||||
out.write(";// ");
|
||||
out.write(line);
|
||||
out.newLine();
|
||||
}
|
||||
|
||||
out.write("}");
|
||||
out.write("}}");
|
||||
out.newLine();
|
||||
}
|
||||
Files.delete(file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user