function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandy ShawSandy Shaw 

Debug Log in Sandbox doesn't show System.debug statement

I am creating a new Apex trigger in one sandbox, and I want to use the Debug Log to debug. I first create a new user trace flag. I put the Traced Entity Type as user and Traced Entity Name as my user name. Then I have the User-added image
this statement in my code. However, after I save the code, the log only shows this User-added image
Could anyone please tell me how to make the Debug Log work? Should I change the Traced Entity Type? Thanks in advance.
Agustina GarciaAgustina Garcia
Have you double check the loging filters in the org? Be sure there is a log entry active for your user that is not the developer console one and by the time you are running your process. Not sure if this can help but it is an idea.