简体   繁体   中英

How can I set breakpoint in Eclipse?

I've got this error when trying to set a breakpoint in a library class (in a .class file)

在此处输入图片说明

The error says that i don't generate line number attributes, while in preferences i have them enabled Picture here

在此处输入图片说明 I've tried also re-downloading eclipse and reinstalling java, but nothing changed

You cannot debug *.class files. You may debug your own *.java files. Look at this helpful article: http://www.vogella.com/tutorials/EclipseDebugging/article.html
I think, It many helps you.

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