Moment For Technology

Quickly find the definition location for thtmlbUtil

Posted on Oct. 20, 2023, 2:22 p.m. by Dr. Roy Jones
Category: The back-end Tag: The back-end

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) (" You can use the following methods for rapid location:

  1. Open the 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 ":

About (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.