Salesforce Certified Platform Developer II — Question 129

A developer has a Debug method within a class, which is invoked hundreds of times.
What is the optimal functionality in the Developer Console to count the number of calls made to the method?

Answer options

Correct answer: C

Explanation

The 'Executed Units' tab under the Execution Overview Panel provides a clear count of the number of times methods are executed, making it the ideal choice for tracking the Debug method calls. The other options do not specifically count method invocations, as they focus on different aspects of execution flow or stack information.