Using the debugger to know the status of program execution