function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brooke OBrienBrooke OBrien 

Is there a way to see modified history for apex class?

I'm curious if there is a way to view the modification history for a particular class in production? Increasingly, I'm trying to track down issues and I need to know the date of the last update for a class BEFORE it was last modified during the last deployment. Meaning the latest deployment caused a bug and it appears we have a code merge issue. Any ideas/recommendations?
GhanshyamChoudhariGhanshyamChoudhari
 I think you cannot edit class on production.
setup>security > view setup audit trail
Brooke OBrienBrooke OBrien
You modify it through deployments or through a dev console...so is there a way that I can see when the last time it was modified prior to the last deployment? basically like a version history without the actual code details. I'm just looking for the date.
GhanshyamChoudhariGhanshyamChoudhari
yes.
1. click setup>
2.go to security and select   view setup audit trail