when stopped {print a on dedicated}
prints the value of a in a dedicated window whenever execution stops.