1. dog anxious to jump over the wall means a dog can jump over the wall when it is anxious. It is a metaphor for taking extreme action without regard to any other means when one is desperate.
2, source
Tang - Wang Chongmin, Wang Qingbeans, Xiangda, Zhou Yiliang and other editors of "Dunhuang Changwen Collection - Swallow Fugue": "People are anxious to burn incense; dogs are anxious to jump over the wall."
Interpretation:
People think of burning incense and worshiping the Buddha only when they are in an emergency, and dogs can jump over the wall when they are in a hurry.
3. Example Sentences
(1) The criminals are already desperate, we must not be too hasty lest they jump over the wall in a dog's hurry.
(2) We must always be on the alert to prevent the class enemy from jumping over the wall in a hurry and making a dying struggle.