Debugging Tools Reference - quality-manager/onboarding GitHub Wiki
Blackboxing and Step Filters
These features are incredibly helpful in large codebases. You can use the debugger to step through only the parts of code you are interested in observing.
Eclipse (v4.6.2 or greater, lower versions are broken)
Open preferences. Enter 'step' in the filter box. Select step filtering.
- Filter these packages
- com.ibm.team.*
- com.sun.*
- java.*
- javax.*
- net.jazz.*
- org.apache.*
- org.eclipse.*
- org.osgi.*
- sun.*
- Filter all packages which contain
*.dto.*
or*model.impl
- You can select all of these at once from the 'Add Packages...' view by filtering the view.
- You can not use the wildcard package filtering. It only supports wildcards at the end of the package name.
- Filter settings to enable
- Filter static initializers
- Filter constructors
- Filter simple getters
- Step through filters
Usage Tip: If you want to continue to the next line of non-filtered code wherever that may be at the end of a method call, you must actually click step into on the last line or closing brace of that method.
Chrome DevTools (Canary Only, other versions are broken)
- Open the devtools settings and click on 'Blackboxing'
- Enable blackboxing content scripts
- Add the following pattern
/dojo|/net|/dijit|/jazz.ui|/jazz.net|/jazz.core