Hi Hemant, Probably you’re looking for:
make test TEST=test_foo DEBUG=gdb Regards, Florin > On Apr 19, 2021, at 4:00 PM, hemant via lists.fd.io > <hemant=mnkcg....@lists.fd.io> wrote: > > Hi folks, > > I know how to use gdb with vpp when a vpp shell is logged into using “sudo > vppctl -s /run/vpp/cli.sock”. > > However, I can’t work with gdb to debug vpp if I am using “sudo make test > TEST=test_foo”. Is it even possible? > > Since I can’t make gdb work with “sudo make test”, this is the reason my > progress has been slow debugging ip-neighbor and ip_adjacency. I am relying > on fprintf(stderr, …) and its like peeling an onion. > > Regards, > > Hemant > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19257): https://lists.fd.io/g/vpp-dev/message/19257 Mute This Topic: https://lists.fd.io/mt/82222140/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-