Way to detect waveform drops/gaps

Paul-L’s DeClicker plugin will detect (“isolate”) clicks. Apply it to a duplicate track.

Preferably prevent the problem for occurring … FAQ:Recording - Troubleshooting - Audacity Manual