Created by Jerry Wang, last modified on Oct 10, 2014 Go to start of metadata

For example, if you want to know in which javascript file thtmlbUtil used in view BSPWD_BASICS/print.htm is defined:

Outside the chain picture archiving failure (img – qHZczBO1-1568514866830) (user-images.githubusercontent.com/5669954/272…)” You can use the following methods for rapid location:

  1. Open the mouse.click breakpoint and click on the workcenter on the left side of the UI to enter debug mode:

  2. Breakpoints are automatically triggered in scripts.js files. The keyword thtmlbUtil is used 873 times in this massive JS file.





    If searching by string is not efficient enough. You can set a breakpoint on any method that calls thtmlbUtil, such as getBroswer, and debug in a single step to find the implementation of getBrowser. A few lines up you can find the definition of this object (line 20).

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: