August 27, 2008

Shortcuts when debugging Java in NetBeans

The following shortcut keys are useful when debugging Java code in NetBeans. The keys are the default shortcuts in Windows:

  • F8 Step over
  • F7 Step into
  • Ctrl+F7 Step out
  • F5 Continue
  • Ctrl+F8 Toggle line breakpoint
  • Ctrl+Shift+F8 Create a new breakpoint dialog window for more breakpoint options
  • Ctrl+F9 Evaluate expression
  • Ctrl+Shift+F7 Create a new watch
  • Ctrl+F5 Debug main project