简体   繁体   中英

Problems with IntelliJ debug

Sometimes, when debugging, the debugger stops into the decompiled class (.class file) instead of source code (I'm debugging my java class, not a third party library). Does anyone one knows what could be happening? I'll really appreciate your help.

I'm using IntelliJ 14.0.3.

Sometimes the JARs are stripped to reduce the file size, so debug symbols (for example local variable names) are not available for tools that inspect the bytecode.

In these cases you should "attach sources" manually (IntelliJ even has a link in the top right spot), either by downloading the archive with the .java files from the vendor site, or by letting your dependencies management tool download the sources along with the binaries

It could be from Project Settings > Modules > Dependencies.

If you have both compiled and source classes available and the class file has priority (higher place in the list) than the entry.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM