[Click] RE : Debugging in click

sam barker sam.barker0 at gmail.com
Sun Feb 17 18:50:48 EST 2008


Hi,
No didnt do that.Now how do start the click in debug.

Do I just say gdb click file.config
When I set the break points where does it break in config file or elements
file.
I am sorry for these questions,but I really dont have much experience in g++
and gdb
Cheers

On Feb 15, 2008 6:20 PM, Lionel Debroux <lionel_debroux at yahoo.fr> wrote:

> Hi Sam,
>
> > I have wrote some elements and recompiled click.Then with a
> > config file I had started click.
>


> >
> > After a few seconds
> > I get the error segmentation fault   core dumped.
> >
> > The packets are not going into element since I have put a
> > click chatter statement in the push method.
> >
> > Is there a debugging mode so that I can step through and see
> > whats happening
> Have you tried compiling click with -g3 GCC option (more debugging
> info), and using GDB/DDD/Insight ?
> The "core" file should help, too, but it won't be too useful if you
> didn't compile click with a high amount of debugging information.
>
>
> Regards,
> Lionel Debroux.
>
>
>
>  ____________________________________________________________________________________________
> Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs
> - http://mail.yahoo.fr
>


More information about the click mailing list