Skip to content

Debugging

hengxin edited this page Oct 8, 2017 · 2 revisions

Theory

Principles

Debugger

  • Line breakpoint Line breakpoints are triggered when the program reaches the specified line of source code, before it is executed.
  • Conditional breakpoint
  • Exception breakpoint Exception breakpoints are triggered when the specified exception is thrown or caught, depending on settings.

Watches

Evaluating Expressions

  • Step Into (F7)
  • Step Over (F8)
  • Force Step Into (``): step into a method of a class not to be stepped into
  • Force Step Over (``): jump over the method call ignoring the breakpoints on the way
  • Force Run to Cursor (``): jump to the cursor position ignoring existing breakpoints on the way

Tools

Clone this wiki locally