I'm getting a rough idle mostly when I get on the brakes while the ac is running on 2001 GMC Yukon XL 1500

When I get on brakes something pulls the motor down an the ac stops cooling

1 answer
seek diag and est