The debugger shell maintains a history of previously executed commands. Instead of re-typing these commands, you can recall them from the history.
Each press of the Up arrow key shows the preceding issued command. Each press of the Down arrow key shows the succeeding issued command.