summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-10-23 11:10:50 +0200
committerChristian Hopps <chopps@labn.net>2023-10-23 11:11:32 +0200
commita921202a85e7be3d66851adba43a07399f750e63 (patch)
tree2af0bb49063a1cc88a532e503a934e639c401641 /doc
parentMerge pull request #14631 from idryzhov/nb-remove-comment (diff)
downloadfrr-a921202a85e7be3d66851adba43a07399f750e63.tar.xz
frr-a921202a85e7be3d66851adba43a07399f750e63.zip
tests: add --gdb-use-emacs option
When specified `--gdb-use-emacs` will launch the daemon with gdb inside a running emacs server using `emacsclient --eval` commands. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/developer/topotests.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/developer/topotests.rst b/doc/developer/topotests.rst
index 0e4f05ed0..fb860fb45 100644
--- a/doc/developer/topotests.rst
+++ b/doc/developer/topotests.rst
@@ -583,6 +583,12 @@ Here's an example of launching ``zebra`` and ``bgpd`` inside ``gdb`` on router
--gdb-breakpoints=nb_config_diff \
all-protocol-startup
+Finally, for Emacs users, you can specify ``--gdb-use-emacs``. When specified
+the first router and daemon to be launched in gdb will be launched and run with
+Emacs gdb functionality by using `emacsclient --eval` commands. This provides an
+IDE debugging experience for Emacs users. This functionality works best when
+using password-less sudo.
+
Reporting Memleaks with FRR Memory Statistics
"""""""""""""""""""""""""""""""""""""""""""""