> On 24. Jul 2017, at 16:11, 'Neal Cardwell' via packetdrill <
packe...@googlegroups.com> wrote:
>
> "On Mon, Jul 24, 2017 at 10:05 AM, 'Michael Tüxen' via packetdrill
> <
packe...@googlegroups.com> wrote:
>>> On 24. Jul 2017, at 16:00, Shivansh Rai <
shivan...@gmail.com> wrote:
>>>
>>> I was trying to use the --debug option of packetdrill; although doing so produced an error stating -
>>>
>>> error: --debug requires building with DEBUG on.
>>>
>>> I looked into Makefile.common and found out that in the compilation step -g option is indeed included.
>>>
>>> $(CC) -o packetdrill -g -static $(packetdrill-objs) $(packetdrill-ext-libs)
>>>
>>> What is the correct way of compiling packetdrill with DEBUG on ?
>> Add -DDEBUG to the CFLAGS in Makefile.common
>>
>> Best regards
>> Michael
>
> BTW, can you please clarify which version of packetdrill you are
> using? It sounds like it might be:
>
>
https://github.com/nplab/packetdrill
It should be this version. We added a way that once you compile in debug support,