Skip to content

Commit b027938

Browse files
committed
Add gdb section introduction
Signed-off-by: DL6ER <[email protected]>
1 parent 3836980 commit b027938

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/ftldns/debugging.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Debugging FTLDNS using `gdb`
22

3+
`gdb` is a powerful debugger that can be used to analyze and help fixing issues in software. It is a command-line tool that can be used to inspect the state of a running process, set breakpoints, and step through the code. Furthermore, it can be used to investigate crashes and give access to the state of the program (e.g. precise locations and variable contents) at the time of the crash.
4+
This guide will show you how to use `gdb` to debug `pihole-FTL`.
5+
36
Once you are used to it, you can skip most of the steps. Debugging *FTL*DNS is quite easy. `pihole-FTL` has been designed so that a debugger can be attached to an already running process. This will give you insights into how software (not limited to `pihole-FTL`) works.
47

58
<!-- markdownlint-disable code-block-style -->

0 commit comments

Comments
 (0)