3
Basic Debugging Features
When developing software, we are entering a domain where creativity, problem-solving skills, and patience to face various challenges are important virtues.
Debugging, while being an important piece of the puzzle, is not just about fixing errors; it is a systematic approach to understanding the nuances of expected code behavior and the application of various techniques to assist your curiosity and journey to find a solution to a particular problem.
This chapter will introduce the basic debug concepts and features that are available on most modern embedded devices that can assist you in that journey. As the reference platform, we will use a modern Arm Cortex-M85 device on an evaluation board with an on-board debugger. The chapter will show how to tackle certain issues with each feature and how it can be used to the developer's advantage.
The goal of the chapter is to provide you with the base skills and a toolset to be able to tackle the majority of software...