You need to sign in to do that
Don't have an account?
bvdb
Best way to debug line by line through multiple triggers and classes
We're trying to debug some Apex triggers/classes but the log files end up being so long that our debug statements get cut off. If we set it to display less information in the log (Error, Warning, or Info), our debug statements don't show up.
Right now we're writing debug information to custom fields.
Is there any way to iterate line by line through the code to identify where the problem lies?
Thanks!
One thing I've done before in these situations is to keep a manual debug log running throughout the process and then email it to myself. E.g.
See if that will work for you.
Jeremy
Thanks Jeremy, will try that! :)
You can also change the log level of your debug statements if you'd like to cut down on some of the "clutter".
Valid log levels are (listed from lowest to highest):