[Oisf-devel] GDB debugger on Suricata

Andreas Herz andi at geekosphere.org
Sun Jun 24 20:12:33 UTC 2018


On 21/06/18 at 10:58, Hwang In Chan wrote:
> Hi, I am trying to use GDB debugger over Suricata.
> How can I use GDB over it? When I just code and debug over Visual Studio
> Code a small C file.
> It just works. But Suricata is a make project. I have no idea how to apply
> GDB to it.
> Have you got any idea on it?

You can just run "gdb /path/to/suricata $ARGS" as also described here:

https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Debugging

-- 
Andreas Herz


More information about the Oisf-devel mailing list