Synonyms for Spying (same or very similar meaning)
WordNet sense 1 (the act of keeping a secret watch for intelligence purposes):
undercover work
WordNet sense 2 (the act of detecting something; catching sight of something):
catching, detection, espial, spotting
From the ODE community, based on WordNet
add/edit