Help with Backfire

Wouldn't a compression check tell if a cam lobe was gone? Is the dist new? I had a situation where the dist shaft was moving up and down too much and I got horrible backfire, changed the dist and problem fixed.