Debugging surrounded regions