Previous Topic

Next Topic

Book Contents

Book Index

Defining Profiling Triggers

mBProfiler triggers allow you to start a profiling action when a specific event occurs within the body of a class method. Thus, you can perform precise analysis of the operations and on the objects you are particularly interested in.

The combination of a class, its method(s), the event that triggers a profiling action and the action is called a trigger. You can specify which triggers will be used for each mBProfiler process via the relevant profile configuration. To open the collection of profile launch configurations for running different applications in profiling mode, use the Run > Profile Configurations menu command or select Profile Configurations from the button pull-down menu.

To define and change the set of triggers for the profiler application, select the target configuration and go to its Triggers tab.

To create a new trigger:

  1. Click Add.
  2. Set the attribute of the trigger:

According to your requirements, select the Enabled checkbox in front of the relevant trigger to include in the subsequent profiling process. Thus, you will disable certain triggers but save the settings for future use.

To remove a trigger, select the trigger row and use the Remove button.

To save the configuration changes, click the Apply button.