eastwater
eastwater

Reputation: 5560

Intellij: how to open a library java source and set a breakpoint for debugging?

Intellij: how to open a library java source and set a breakpoint for debugging?

From a stacktrace, we know where to set a breakpoint. Right now, we have to step into one lib java source at a time during debug and it takes a long time to get to the source line we are interested in.

Upvotes: 3

Views: 2093

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401887

You can navigate to any file using the Search Everywhere feature (Shift+Shift) or Navigate | File / Class (Ctrl+Shift+N / Ctrl+N).

If you change the scope to Project and Libraries, this will also navigate to the library classes where you can set the breakpoints.

Project and Libraries

Upvotes: 3

Related Questions