testing and debugging applications