Tag Archives: Apex Messages

Apex message as Debug Tool

Sometimes it’s very tedious to debug controller side code using system.debug command for some variables or tracing an error. One can instead use ApexPages.addmessage to show a message to visualforce page for quick debugging purpose. In below code we are showing account values on visualforce page. Similarly, you can use ApexPages.addmessage to show any variables… Read More »