[Click] debugging click element

Roman Chertov rchertov at purdue.edu
Thu Apr 26 09:50:21 EDT 2007


kalin lagno wrote:
> Hi,
>   Anybody canhelp me?I'm new to click, and I want to debug a new  element  with c++ for Click.Can I use c++ debuggers like GDB? How  can I do that?
>   I tried once but there are lots of unknown types

Are you doing userlevel or kernel level?  If you are doing userlevel it 
should be pretty easy.  Just make sure that the -g flag is enabled in 
the Makefile for gcc.  If you are doing kernel then your options are 
much more limited.  I think most people use click_chatter (similar to 
printk)

Roman

>   
>   
>   Cheers
>   Kalin
>   
>        
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 



More information about the click mailing list