We know that UI5 framework provides a convenient Diagnostics tool for application developer to set breakpoint on a given method of control class. The Diagnostics tool could be launched via Ctrl+Alt+Shift+S.
We can select the control and its methods where we would like to set breakpoint. Once we click “Add breakpoint” button, next time if the corresponding method is called, the breakpoint would be triggered, without application developers' manual set in Chrome development tool any more.
It looks like a magic? Today my colleague asked me how this feature is implemented, so I have a look at UI5 framework source code.
We can again simply use Chrome development tool for research.
For example I would like to set breakpoint on method _bindAggregation: