+ Start a Discussion

Checkpoint - variable does not found.

I am using checkpoints and using System.debug() to get the value of variable at some point. When I am adding apex code to that checkpoint but I am getting following error in Apex Execution Result.

Variable does not exist: <variable name>


Is there anything extra has to be done to inject code via checkpoints.



Hi Kiran, 


Try putting the System.Debug in the loop rather than creating multiple checkpoints. 

Salesforce code runs on the cloud and it is a single thread execution where breaks are not possible.