Debug inside javax libraries

Answered

I attached java(openjdk 11) source code to intellij as I have an application to debug. The break point never hits inside javax source code specifically javax.naming.NamingException library. Is there a setting I am missing? What is the procedure to attach java source code so that we can stepin javax files. Any help would be appreciated.

P.S. debugging works perfectly in the application code.

0
1 comment

What method do you need to debug from javax.naming.NamingException? Here are the steps that worked for me:

- Configure openjdk as a project JDK.

- Press Shift twice, type NamingException and jump to the one from javax.naming.

- Find the needed method and put a breakpoint.

- Run the app in debug mode.

If possible please prepare and provide a small project sample illustrating the problem. The files can be uploaded at https://uploads.jetbrains.com (do not forget to specify the UploadID) 

0

Please sign in to leave a comment.