Under-pressure is easy. The gun doesn’t work because there’s not enough gas. Observation usually makes this easier to spot. The technical solution for this in a stock rifle is cutting coils off the buffer spring. Handloading? Just make sure the load is what it should be, not “light.”