Debugging with the Yocto Project

The debug process is an essential step in every development cycle. In this chapter, we will learn how to configure Poky to help us with the debugging process; for example, how we can configure our system to provide the tools needed for a remote debug using the Gnu DeBugger (GDB), how we can track our changes using buildhistory, and how we can use handy debug tools, such as oe-pkgdata-util, bitbake-getvar, and devshell.

Differentiating metadata and application debugging

Before we delve into the details of debugging, we need to realize that there are different types of debugging, such as metadata and runtime code debugging.

Metadata debugging is needed to ensure that the behavior of BitBake’s tasks aligns with ...

Get Embedded Linux Development Using Yocto Project - Third Edition 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.