1before case 2before dotcmd 3before while 4before return 5after dotcmd, return value: 0 6after case 7