Error messages, stack traces, logs, profiling output, and debugger sessions each have their role in the diagnostic process.