A developer is building a complex commission calculation engine in Apex that is called from an Opportunity trigger. During QA it was reported that the calculations are incorrect.
The developer has representative test data and passing test methods in their developer sandbox.
Which three tools or techniques could the developer use to execute the code and pause it at key lines to visually inspect values of various Apex variables?
Choose 3 answers
To debug and troubleshoot the commission calculation engine, a developer can use several tools provided by Salesforce to inspect and pause the execution of Apex code.
Apex Interactive Debugger: It allows real-time debugging of Apex code execution. With this tool, a developer can set breakpoints, step through code, inspect variables, and evaluate expressions.
Developer Console: Although the Developer Console does not allow interactive debugging, it does provide the ability to view logs that capture the execution of code. Debug logs can be inspected to understand the flow of execution and values of variables at different points in time.
Apex Replay Debugger: This tool is part of Salesforce Extensions for Visual Studio Code. It allows a developer to replay a debug log as if they are stepping through the code line by line, which can be very useful to inspect the state of variables at specific points in the execution.
Apex Interactive Debugger
Developer Console Debugging
Apex Replay Debugger
Fatima
3 months agoLavera
3 months agoRosina
3 months agoJohnson
4 months agoFausto
4 months agoLashaunda
4 months agoPatti
4 months agoBeula
5 months agoJaleesa
5 months agoTimmy
5 months agoMelissa
5 months agoMerri
5 months agoMarguerita
5 months agoPatti
6 months agoDortha
12 months agoAndree
12 months agoIzetta
12 months agoElouise
11 months agoAlberta
11 months agoGerald
12 months agoWilford
12 months agoTammy
1 year agoDalene
1 year agoJenelle
12 months agoJose
12 months agoSocorro
1 year agoWilburn
1 year agoAlpha
1 year ago