Debugging NET-SNMP sources

Hi all,

I'm doing a snmpget to retrieve the value returned by a MIB, this returned value is coded in 5 bytes and I want to know why .

I want to debug the source files of snmplib (snmp_api.c, snmp_client..etc), I put printf () everywhere.
I stop snmpd and restart it manually by redirecting the output to stdout.

root@root:~# snmpd -f -Lo -d

but I can't see anything. even by adding -Dall .

Why I don't see my printf () that I do in snmplib sources knowing that I see those of my MIB.
I removed disable-debug option in / packages / feeds / packages / net-snmp / makefile.

Thank you.