.. Debugging documentation master file, created by sphinx-quickstart on Thu Jan 9 16:45:20 2020. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to learning debugging ============================= Introduction ------------ As a computer scientist, you would know that code doesn't always work the first time. That's why it is important to learn to debug. Most people already know how to debug to a certain extent. In fact, we debug almost every day without realising it. This debugging learning resource aims to improve your debugging skills by providing a rules-based framework for thinking about debugging, and a series of practical learning modules on specific aspects of debugging. The first step is a video introduction to *Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Software and Hardware Problems*. Click `here `_ or on the image below to begin watching. Note: You'll need your UNSW ZPass to login. .. image:: modules/Debugging_First_Frame.png :target: https://mirror.cse.unsw.edu.au/learn/video/Debugging/Debugging.html Overview and Structure of the Practical Content ----------------------------------------------- Now that you have been exposed to the nine rules of debugging, you can proceed to the practical content that teaches a wide variety of specific techniques related to debugging. This content is intended to support a broad audience and be independent of any specific course. As such, the practical content can be approached in three ways: #. You are enrolled in a specific course and you'd like to do a subset of the material relevant to your specific course. #. You'd like to improve on a specific aspect of your debugging that relates to one of the nine rules. #. You'd like to just work your way through everything available. The following sections group the material to facilitate each of these approaches to learning. Simply dive in and explore based on the approach most relevant to you! Content by Course Code ^^^^^^^^^^^^^^^^^^^^^^ .. toctree:: :maxdepth: 1 modules/for_1511 modules/for_1521 modules/for_2521 modules/for_3231 Content Arranged by the Nine Rules ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. toctree:: :maxdepth: 1 modules/9_understand modules/9_fail modules/9_look modules/9_divide modules/9_onething modules/9_audit modules/9_checkplug modules/9_freshview modules/9_fixit All Content ^^^^^^^^^^^ .. toctree:: :maxdepth: 1 modules/all_gdb modules/valgrind modules/asan modules/misc