Using the Inspect function

Inspect is a diagnostic tool whose primary purpose is to help you understand where, within an address space, code is spending its time. You can then use that information either to optimize the code, or to identify where within the code a program might be looping. You might use the Inspect function, for example, when a workspace or situation event shows an address space with high processor usage.