-
Book Overview & Buying
-
Table Of Contents
Practical Debugging for Embedded ARM Systems
By :
We will begin with software tracing. In this section, we will learn what software tracing is, what typical methods are, and how they can be utilized most effectively.
Let's first define what tracing is, in general.
Tracing refers to recording and analyzing events that happen during a program's execution. There are various types of tracing, including event tracing, system tracing, and instruction tracing. This practice allows developers to gain insights into how their software operates, pinpoint errors, and enhance performance [1].
The most common technique for both event and system tracing is logging, a specific form of software tracing. In this method, the system periodically (and/or based on events) writes messages to a log file, which developers can review later.
A prime example of this is the system log found in Linux systems. However, event or system logs can also be generated in embedded systems, often using the printf() function...