Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Identify the correct order of the following steps in debugging a Python program.

### Input:
Revert to old code, run tests, check logs, investigate issue, reproduce issue.

### Response:
Revert to old code, reproduce issue, investigate issue, check logs, run tests.