nerdexam
Salesforce

PDII · Question #330

A developer recently released functionality to production that performs complex commission calculations in Apex code called from an Opportunity trigger. Users report that the calculations seem…

The correct answer is A. Apex Replay Debugger B. Visual Studio Code. See the full explanation below for the reasoning.

Question

A developer recently released functionality to production that performs complex commission calculations in Apex code called from an Opportunity trigger. Users report that the calculations seem incorrect because the values they see for commissions are wrong. The developer has representative test data in their developer sandbox. Which three tools or techniques should the developer use to execute the code and pause it at key lines to visually inspect values of various Apex variables? (Choose two.)

Options

  • AApex Replay Debugger
  • BVisual Studio Code
  • CWorkbench
  • DDeveloper Console
  • EBreakpoints

How the community answered

(64 responses)
  • A
    72% (46)
  • C
    16% (10)
  • D
    9% (6)
  • E
    3% (2)

Community Discussion

No community discussion yet for this question.

Full PDII Practice