What debugging approach using the Developer Console provides the - ProProfs Discuss
Topics
Products
Follow Us:

What debugging approach using the Developer Console provides the fastest and most accurate mechanism to identify a specific component that may be returning an unexpected number of rows?
A developer receives a Limit Exception: Too many query rows: 50001 error when running code.



A. Count the number of Row Limit warning messages in the Debug Logs.
B. Add System.debug (System.getoueryRows () to the code to track SOQL usage.
C. Filter the Debug Log on SOQL_EXECUTE_END statements to track the results of each SOQL Query.
D. Use the Execution Overview to see the number of rows returned by each Executed Unit.

This question is part of PD2
Asked by Pal, Last updated: Jul 08, 2020

+ Answer
Request

1 Answer

Pal

Pal

Answered Feb 17, 2018

Filter the Debug Log on SOQL_EXECUTE_END statements to track the results of each SOQL Query.
1
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.