April 2023
Intermediate to advanced
196 pages
4h 4m
English
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.
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 ...