August 2022
Beginner to intermediate
424 pages
10h 19m
English
Innovation at the museum
This chapter covers
When our programs don’t behave as expected, we need to investigate the source code. The traditional tool for code investigation is the debugger. The debugger allows us to run the code, step by step, until we find the line that causes the bug. However, a debugger doesn’t allow us to reproduce the scenario that causes the problem.
In DOP, we can capture the context of a scenario that causes a bug and replay it in a separate process like a REPL or a unit test. This allows us to benefit from a short feedback loop ...
Read now
Unlock full access