Skip to content

Commit

Permalink
Add gdb section introduction
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Nov 9, 2024
1 parent 3836980 commit b027938
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/ftldns/debugging.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Debugging FTLDNS using `gdb`

`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.
This guide will show you how to use `gdb` to debug `pihole-FTL`.

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.

<!-- markdownlint-disable code-block-style -->
Expand Down

0 comments on commit b027938

Please sign in to comment.