In development scenarios where things can't be run in a debugger, or when you run the risk of masking the problem, logs ...