+ Start a Discussion
Rana RoyRana Roy 

Trailhead Challenge Help:Developer Console Basics

Regarding the Unit, Inspect Objects at Checkpoint
https://trailhead.salesforce.com/developer_console/developer_console_checkpoints
 cant add a checkpoint on line no 13.

Can anyone please help?
Best Answer chosen by Rana Roy
Rahul_kumar123Rahul_kumar123
Hi Rana Roy,
please select "checkpoints" in the developer console.check the screenshot provided below.
User-added image

1.Set a checkpoint on line 13 of the EmailMissionSpecialist class.
2.Use Execute Anonymous to execute the EmailMissionSpecialist Apex class, using your email address.please check the below screen shot.
User-added image
3.now execute the code which has written in an anonymous window.select the checkpoints Tab and observe
successfully the checkpoint results and see the values of the objects in memory.please check the below screen shot successfully completed the challenge.
User-added image
I hope it will be helpful.

Please mark it as solved.so they removed from unanswered questions.and more appear as the proper solution to similar kind of issue.

Best Regards
RahulKumar

All Answers

Rahul_kumar123Rahul_kumar123
Hi Rana Roy,
please select "checkpoints" in the developer console.check the screenshot provided below.
User-added image

1.Set a checkpoint on line 13 of the EmailMissionSpecialist class.
2.Use Execute Anonymous to execute the EmailMissionSpecialist Apex class, using your email address.please check the below screen shot.
User-added image
3.now execute the code which has written in an anonymous window.select the checkpoints Tab and observe
successfully the checkpoint results and see the values of the objects in memory.please check the below screen shot successfully completed the challenge.
User-added image
I hope it will be helpful.

Please mark it as solved.so they removed from unanswered questions.and more appear as the proper solution to similar kind of issue.

Best Regards
RahulKumar
This was selected as the best answer
BINOY MATHEWBINOY MATHEW
I did as the challenge requires but the Challenge is not completed. I'm getting the below message. I replaced with original code, fit the whole code on line 13 etc. I exhausted all different options but still challenge would not complete. I'm even getting the email successfully.

Challenge Not yet complete... here's what's wrong: 
Could not find an execution checkpoint for line #13. Make sure you set the checkpoint on line #13 and execute the EmailMissionSpecialist class before checking this challenge.

Any ideas anyone?
Avani BhatnagarAvani Bhatnagar
Hey did you figure this out, Binoy? I get the the same error. Even though I finished all the steps.
Aaron EdelmanAaron Edelman
Same issue with me.  The code, as copied from Trailhead, has the Messaging.SingleEmailMessage on line 12, not 13.  Even moving the code down one line produces the same error as Binoy.
Dinesh GajwaniDinesh Gajwani
The checkpoint not showing up is probably a bug in the Developer Console. I couldn't get it to work in Safari or Chrome. If you are just looking to score points on the challenge just put a new line on Line Number 2, as shown in the picture above. This should put 
Messaging.SendEmailResult[] results = Messaging.sendEmail(

on line 13. Doing this and then executing once will give you the points. However, if you actually want to see the heap as they want you to, under Debug, uncheck 'Show my current checkpoints only' and you'll see the checkpoints.'
sfdc vasanthsfdc vasanth
I think the line 13 code is distributed across 13 and 14. Making them appear on single line did the trick for me
BINOY MATHEWBINOY MATHEW
Thank you Dinesh Gajwani for your input. It worked as a put a new line on Line 2 as show in above picture. Also, as Vasanth mentioned I put the whole code on Line 13 and it worked. 

Thanks so much for your effort to answer this. Appreciate it!!!

@ Avani and Aaron- I hope this works for u also
Aaron EdelmanAaron Edelman
Hey Binoy, Dinesh and Vasanth, it works! Thanks so much for your input.
Vinod PreetVinod Preet
Hi Binoy, Dinesh and Vasanth, it worked! Thanks so much for your input.  Also please note that the expected behaviour of the "Debug - show current check point only" check box needs trial and error to understand.
Cagkan UrkmezCagkan Urkmez
Hi guys, just Save your apexcode before execute it, unless server side, does not know the checkpoint and doesnt allow you to finish this challenge
Tracy DyeTracy Dye
I have no idea what Cagkan means.  I have tried to do what you all have said and I am getting the same error.  
Tracy DyeTracy Dye
Fixed it- make sure you save the file you change.  Simple but I forgot.  If it has an asterisk in the file name, it's not saved.  
Shalini ShamalaShalini Shamala
Saving the code on line 13, worked for me! Thanks Sfdc Vasanth
Stamen Nikolov 4Stamen Nikolov 4
Hi all,

i`m also stuck on this and none of the above suggestion does not work for me. For some reason when i put a checkpoint location on row 13 and execute the code nothing is showing up in my "Checkpoints" section. If I uncheck the "Show my current checkpoints only" it shows me some old checkpoints, but nothing for line 13. I assumed there is a limit of 5 checkpoints, just like there`s a limit of 5 checkpoint locations. However while this checkbox is unchecked even if I go an clear the checkpoints from the menu nothing is happening. Any ideas?
User-added image
Luca MastroLuca Mastro
@Stamen Nikolov 4

I was able to force the checkpoints to appear in the console by removing comments and white space between the lines. I also placed 5 checkpoints for good measure:

User-added image
Harshal JagdaleHarshal Jagdale
Add extra line on 12 and Making line 13-14 appear on single line works for me.
User-added image