| # fx gdb | |
| Run GDB, the GNU DeBugger. | |
| ```none | |
| USAGE: | |
| fx gdb [ARGUMENTS to GDB...] | |
| This simply runs the prebuilt GDB binary with the arguments given. | |
| See https://www.gnu.org/software/gdb/documentation/ for details. | |
| NOTE: | |
| On Linux, it may be necessary to run: | |
| ```shell | |
| sudo apt install libpython3.8 libdebuginfod1 | |
| ``` | |
| before running the prebuilt GDB binary. | |
| ``` | |
| [gdb source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/contrib/gdb.fx) |