Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ: show decompiled class disassembly even when source is present

IntelliJ can display and debug decompiled classes when the sources cannot be found. Is there some way to force the debugger to use disassembly instead of sources even when the sources are found, other than deleting the sources?

This would be useful in a situation where the sources are wrong (do not match the class).

like image 762
Suma Avatar asked Aug 21 '15 09:08

Suma


1 Answers

This was added in IntelliJ IDEA 2016.1 (see IDEA-144322) and is now available in the View menu next to Show Bytecode as Show Decompiled Class. It is available for library classes only, not for project classes.

like image 73
Suma Avatar answered Nov 09 '22 22:11

Suma