+ Start a Discussion
Michelle Chaplin RegalMichelle Chaplin Regal 

Set apexcode to finest does not create checkpoint

I'm in the Inspect Objects at Checkpoints step of the Developer Console Basics module, and I open the EmailMissionSpecialist class and set the Debug Log Level for ApexCode to Finest, but the line inspectResults(results); does not get marked as a checkpoint in the console (no red dot). When I run the execute anonymous command, no checkpoints are shown under the checkpoints tab.
Alain CabonAlain Cabon
Hi,

It is not "click the line number" but "click on the left side of the line number for inspectResults(results);" (where you see the red point, it is a toggle point that must be activated/deactivated manually). I retry with my class and that worked.

Trailhead: When your code is displayed in the source code editor, you can see line numbers on the left side. Click the line number for inspectResults(results);. A red dot (1) appears, indicating that a checkpoint has been created.

https://trailhead.salesforce.com/fr/modules/developer_console/units/developer_console_checkpoints

User-added image

Regards
Alain
Cagkan UrkmezCagkan Urkmez
Hi Michelle, just Save your apexcode before execute it, unless server side, does not know the checkpoint and doesnt allow you to finish this challenge
Lalbahadur Bandaru 7Lalbahadur Bandaru 7
The code is failing at line 13. Never going to reach line 17, hence you will not see any checkpoint  in the checkpoint tab. 
Try setting checkpoint at line 9, which is before the failure line, you will see the checkpoint.