A method exposes a wound bed to electrosurgical treatment to generate fragmented wound tissue, gathers a molecular gaseous by-product sample of the fragmented wound tissue, and analyzes the molecular gaseous by-product sample of the fragmented wound tissue to generate a fragmented wound tissue compound analysis profile. The method further compares the fragmented wound tissue compound analysis profile with a database of known compound analysis profiles and provides a diagnosis of the wound tissue based on the comparison of compound analysis profiles.