3장. The LLDB debugger
You can debug C and C++ programs from the command line with LLDB, the LLVM project debugger. With LLDB, you can inspect memory, control how your program runs, and pause when selected code runs.
LLVM Toolset is distributed with LLDB 20.1.8.
3.1. Prerequisites 링크 복사링크가 클립보드에 복사되었습니다!
- LLVM Toolset is installed.
Your compiler is configured to create debug information.
For instructions on configuring the Clang compiler, see Controlling Debug Information in the Clang Compiler User’s Manual.
For instructions on configuring the GCC compiler, see Preparing a Program for Debugging in the Red Hat Developer Toolset User Guide.