FaqDebuggingJdkCode

Can I step into the JDK code during debugging?

Yes, you can. In NetBeans 6.7 and later it just works by default.

In older NetBeans versions follow these steps:

  • Run your application in the debugger.
  • Once it's running, open the Debugging Sources view via Window | Debugging | Sources (Alt-Shift-8). You should see a list of source roots with check boxes.
  • Find the item corresponding to the JDK sources. The respective check box is off by default. To enable

debugging of the JDK sources, turn it on.

Next time you invoke Step Into (F7) on a line with a JDK API call, the debugger will step into the JDK source.


  Applies to: NetBeans 4.1, 5.x, 6.x
  Platforms: All
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo