Salesforce Trailhead - Developer Console - Inspect Objects at Checkpoints Challenge

Опубликовано: 04 Март 2020
на канале: FamilyOfTanzil
8,638
89

#1 Salesforce Training Tutorials
https://www.sown.io

Promote Your Salesforce App on This Channel:
   • Marketing your Salesforce App on Sale...  

FULL PLAYLIST:
   • Salesforce Trailhead - Developer Begi...  

Set Checkpoints to Find Errors in Your Code
Set a checkpoint in the EmailMissionSpecialist class. Then, execute the class using a valid email address, and analyze the objects logged at the checkpoint. Make sure that line 12 of your EmailMissionSpecialist Apex class still contains this code:
Messaging.SendEmailResult[] results = Messaging.sendEmail(
If line 12 doesn't contain that code, find the original version of the EmailMissionSpecialist class in Unit 2: Navigate and Edit Source Code, and replace the contents of EmailMissionSpecialist.apxc with that version. Then, set a checkpoint on line 12 and execute the EmailMissionSpecialist class using the Execute Anonymous statement that you used earlier in this unit.

Set a checkpoint on line 12 of the EmailMissionSpecialist class.
Use Execute Anonymous to execute the EmailMissionSpecialist Apex class, using your email address.
Observe the checkpoint results and see the values of the objects in memory.