Set a breakpoint inside a library jar in IntelliJ

£可爱£侵袭症+ 提交于 2020-01-24 12:12:59

问题


I am trying to set a breakpoint inside a method from a 3rd party library added to my Griffon project. During debug, the breakpoint becomes marked with an X, with the tooltip informing me that "no executable code was found". I've also tried setting the breakpoint just before the method call in my source and stepping in, but this failed to step into the library source as well.

I have the library attached as jar with a source directory and set to export in Project Structure->Modules->Dependencies. I am using IntelliJ 11.


回答1:


Clicking in the margin of the opened source editor seems to work for me. It didn't the first time I tried though. A restart seemed to clear it up.



来源:https://stackoverflow.com/questions/11199282/set-a-breakpoint-inside-a-library-jar-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!