Brand new user, so forgive me if I've missed something obvious. In reading the docs and trying out the product, I've found that I can view a debug log as an expandable tree of nodes, with each node showing its start time. However, I cannot find any way to show elapsed time per node, which would be extremely helpful in trying to track down Apex CPU Limit exceptions. Nor can I find a "timeline" viewer. The standard SFDC Developer Console offers these features, but it routinely fails to load larger logs in their entirety, rendering the tool useless. Does TWC offer any such feature to show where all of the system time is spent?
Debug Log - Elapsed time or timeline view?
#1
Posted 05 Nov 2019 and edited 06 Nov 2019
#2
Posted 06 Nov 2019
Hello Jason!
Thank you for your question!
If I understand you correctly, you will be able to see these value using the "Profiler" feature. Just review the next documentation about it: Apex Profiler.
If you have any other questions, just let me know, we will be happy to help you!
Best Regards,
Ihor
TWS Team
#3
Posted 06 Nov 2019
Ihor - The profiler output looks like what I need, except that I need to apply it to an existing (production) log to track down a sudden CPU Limit exception that we haven't seen before. Since I don't yet know the cause, I cannot build a unit test for the scenario.
#4
Posted 06 Nov 2019
Thank you for your quick reply!
Maybe, the 'TimeStamp' row can help you with this.
If you need anything else, just let me know!
Regards,
Ihor
TWS Team