DebuggingAppPkg¶
Basic UEFI Debugging¶
Note
Review “DebuggingUEFI.txt” for basic debugging information. This file covers the additional steps for app module debugging.
Set the UEFI core and app module file paths
Run uefi_core_set_path.cmm to set the path for the UEFI core:
Usage: "do uefi_core_set_path.cmm <Core path>" Core path: absolute path to the target-specific tools e.g. <full path to build root>/boot_images/QcomPkg/<TargetPkg>/Tools
Run app_set_path.cmm to set the path for the external module:
Usage: "do app_set_path.cmm <App obj path> <App src path>" App obj path: absolute path to module's built object files App src path: absolute path to module's source code
Run the requisite scripts from the Tools folder
Run debug_app.cmm with the same arguments as debug_uefi.cmm to start UEFI and debug an app or driver
Run symbol_load.cmm to load symbols in any execution state of UEFI
Path Setting Details¶
Arguements to path setting scripts are optional. If none are provided, the directory from which the script is being run is take as the implicit path