Wireshark-dev: Re: [Wireshark-dev] A question about debug using DDD
Date: Tue, 5 Sep 2006 19:17:06 +0800
hello,

when debug with DDD, I set a breakpoint in function "proto_register_chlip" by command: b proto_register_chlip. 
then: run

but it display:
Breakpoint 2, proto_register_chlip () at packet-chlip-template.c:60
60       packet-chlip-template.c: No such file or directory.
         in packet-chlip-template.c

Can you tell me why I can set the breakpoint successfully, but cannot find it in .c file? whether I should set some parameters to make this breakpoint in packet-chlip.c file not packet-chlip-template.c?

BR
patrick

 

>-----Original Message-----
>From: wireshark-dev-bounces@xxxxxxxxxxxxx 
>[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] 
>Sent: Tuesday, September 05, 2006 2:52 PM
>To: wireshark-dev@xxxxxxxxxxxxx
>Subject: Re: [Wireshark-dev] A question about debug using DDD
>
>Thanks anders.
>
>I have added them in makefile.common in epan/dissectors
>
>I use command: libtool --mode=execute ddd wireshark
>
>My ddd version: GNU DDD 3.3.11
>
>BR.
>patrick
>>-----Original Message-----
>>From: wireshark-dev-bounces@xxxxxxxxxxxxx
>>[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of ext Anders 
>>Broman
>>Sent: Tuesday, September 05, 2006 2:43 PM
>>To: 'Developer support list for Wireshark'
>>Subject: Re: [Wireshark-dev] A question about debug using DDD
>>
>>Hi,
>>You need to add packet-chlip.c and packet-chlip.h to 
>makefile.common in 
>>epan\dissectors...
>>Brg
>>Anders
>>
>>-----Ursprungligt meddelande-----
>>Från: wireshark-dev-bounces@xxxxxxxxxxxxx
>>[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För patrick
>>Skickat: den 5 september 2006 08:23
>>Till: wireshark-dev@xxxxxxxxxxxxx
>>Ämne: [Wireshark-dev] A question about debug using DDD
>>
>>Hello,
>>
>>I have a question about wireshark debug. 
>>I want to add a new dissector in wireshark. After python compile, I 
>>added new packet-chlip.c and packet-chlip.h file in
>>epan\dissectors,then I make it.  
>>When debug using DDD, I cannot find these packet-chlip.c and 
>>packet-chlip.h file in epan\dissectors, and cannot set a break. Is 
>>there anything wrong?
>>Thanks
>>
>>Best Regards
>>Patrick
>>
>>
>>_______________________________________________
>>Wireshark-dev mailing list
>>Wireshark-dev@xxxxxxxxxxxxx
>>http://www.wireshark.org/mailman/listinfo/wireshark-dev
>>
>>
>>_______________________________________________
>>Wireshark-dev mailing list
>>Wireshark-dev@xxxxxxxxxxxxx
>>http://www.wireshark.org/mailman/listinfo/wireshark-dev
>>
>_______________________________________________
>Wireshark-dev mailing list
>Wireshark-dev@xxxxxxxxxxxxx
>http://www.wireshark.org/mailman/listinfo/wireshark-dev
>