diff options
author | Christian Hopps <chopps@labn.net> | 2023-10-23 11:10:50 +0200 |
---|---|---|
committer | Christian Hopps <chopps@labn.net> | 2023-10-23 11:11:32 +0200 |
commit | a921202a85e7be3d66851adba43a07399f750e63 (patch) | |
tree | 2af0bb49063a1cc88a532e503a934e639c401641 /doc | |
parent | Merge pull request #14631 from idryzhov/nb-remove-comment (diff) | |
download | frr-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.rst | 6 |
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 """"""""""""""""""""""""""""""""""""""""""""" |