You need to sign in to do that
Don't have an account?
Riothamus
Debugging code that works in Test, fails in Production
I have a trigger and associated apex classes that work correctly in Test, but give different (incorrect) results in Production. After going through each Apex file and comparing them in Production and Test, they appear to be identical.
What could cause this? What is the best way to debug?
What I'd like to do is just delete the Apex files from Production, and then upload a complete change set. How do I do this?
Hi Riothamus,
you can not delete the apex code files directly from production.
Alternate for this is.
Go to the apex file in sanbox coment out all the code and save it. if any files that are dependent on the apex code you should do the same. and create a change set and deploy it. but make sure that will not effect any other process.
If you have any doubts, I am happy to help you.
Thanks,
Suree