From the course: IoT Foundations: Operating Systems Fundamentals

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Debug your OS-based applications

Debug your OS-based applications

From the course: IoT Foundations: Operating Systems Fundamentals

Start my 1-month free trial

Debug your OS-based applications

- [Instructor] Debugging is a common process in the software and embedded system development where we may deal with the hardware components. It is the process of identifying and removing errors from your software. It's very useful for RTOS applications. For example for multitasking OS-based applications, some tasks may not be running as expected and it's hard to spot something wrong without tracing the tasks to check the timing and context switching information of our task. Sometimes we can simply debug an application by printing out the verbose, to watch them through the terminal, or through reports, but that approach doesn't work well especially in complex software. Thus, we need more functionalities when debugging a program such was watching data in the registers and memories, setting break points to the code, and stepping through the code. Now let's see some debugging options. In general, we can use software debugging tools such as the GNU Project Debugger, GDB, which is powerful…

Contents