You need to sign in to do that
Don't have an account?

Trigger help
I am new to writing triggers and i want to what is the way that i can debug my trigger something like alerts that popup on the screen or writing into a file so i can understand where my control is in the code.
Thanks
system.debug('my code is here');
to your apex code, then click on the "System Log" link at the top of the app, and this will show the output of the debug statements after they run.
you can also run statements in this log window, sort of like a shell...