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

Basic Help w/ Apex Debugging
Hi,
I'm very new to the apex development process. I have some classes and triggers in a sandbox which are functional (tested through regular use of salesforce ui), but I can't get any debugging functionality to work.
Should I be using the Execute Anonymous section of eclipse? How exactly do you format the "Source to execute"? Will debugging messages be visible there?
Thanks,
Dave
I'm very new to the apex development process. I have some classes and triggers in a sandbox which are functional (tested through regular use of salesforce ui), but I can't get any debugging functionality to work.
Should I be using the Execute Anonymous section of eclipse? How exactly do you format the "Source to execute"? Will debugging messages be visible there?
Thanks,
Dave
There are two ways to get some debugging info and you already figured out one of them.
And the other one is the same you just access it through the UI of salesforce.
The Anonymous Window. You see it in eclipse but you can get to in through the UI by clicking on the System Log link at the top of the screen next to the Setup link.
Both windows do the same thing and act the same.
You can write code in these windows and execute your code the same way you would in a class.
Example:
- I want to test a static method on a class, just type:
Click the excute button and off you go.
- Or if your trigger does something on account insert you can type:
Test it out and good luck