identifying the nature or cause of some phenomenon
"The team spent weeks diagnosing the root cause of the network outage before they could restore service."
present participle of diagnose
"The doctor spent hours diagnosing the patient's rare allergy before finally identifying the trigger in her medication."