Java Reference
In-Depth Information
Figure 6.12 You can use the Debugger properties panel to customize
the behavior of your debugger and to improve performance.
6.5.2
Limiting the scope of debugging
You can reduce the amount of code you have to step through while debugging by
instructing the debugger to ignore classes and methods you don't expect to have
problems. In IDEA , you can configure the debugger to automatically skip con-
structors, synthetic methods, and even entire branches of the class hierarchy.
Skipping constructors and synthetic methods
In the Stepping group of the Debugger window are options to skip construc-
tors and synthetic methods. If they're enabled, the debugger always jumps
over these types of methods, even if you choose the Step Into option on them
while debugging.
Synthetic methods aren't present in the original source code; they're created
automatically by the compiler. Synthetic methods include default, no-argument
constructors and constructors for anonymous classes. Because they have no direct
source reference, it's generally safe to skip over them.
 
 
 
 
 
 
Search WWH ::




Custom Search