Source Control

A source control or configuration management system is a repository that keeps track of your source code, together with a history of all of the changes that have been made to it over its lifetime. Other than your compiler or interpreter, it’s probably the single most important tool at your disposal.

From a debugging standpoint, source control helps across the board. It’s a key element of a controlled build process that ensures that you know what you’re debugging and that you’re running exactly the same code as the user. During diagnosis, it can pinpoint the precise change that introduced the bug and help you keep track of the experiments you’ve tried. When you come to implement your fix, it ensures that you make only the changes ...

Get Debug It! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.