Attaching commands to breakpoints