Posted in November 2012

Debugging with JSON.serializePretty

Here’s a quick tip that I thought I’d share. Today I was trying to troubleshoot a trigger and needed to know what the Trigger.newMap and Trigger.oldMap looked like. Rather than put a lot of System.Debug messages for each field I was interested in, I put in a single debug statement to show me the entire … Continue reading