[strongSwan-dev] Debugging helpers for strongswan?
alexander.sbitnev at gmail.com
Tue Jul 22 09:29:04 CEST 2014
Thanks a lot for info.
On 22.07.2014 10:51, Martin Willi wrote:
> Hi Alexander,
>> Private members inspection is the most painful thing here. Casting
>> pointers to private classes always take a some manual work. Is there
>> any helpers or other ways to make it easy?
> I don't think so. Casting to private classes is cumbersome but works in
> gdb; I usually prefer to directly add some debugging code.
>> And also is there any info on right way to start charon from gdb to be
>> able debug initializing stage?
> When using ipsec starter, you can use "ipsec start --attach-gdb". This
> will run the daemon in foreground with gdb attached. Signal handling is
> a little difficult with that invocation, though.
More information about the Dev