how to debug the busybox

Rob Landley rob at landley.net
Sun Jul 16 17:52:27 UTC 2006


On Sunday 16 July 2006 3:13 am, 孟钢Mark wrote:
> Hello,all:
>     sorry to ask you a simple question.
>     Could anyone tell me how to debug busybox?Is it like debug the linux
> kernel?Using printk() printascii(),etc?
>     Thank you.

Using printf, generally.  It's a user space application.  Helps to have your 
console set up properly so you can see the output.  If your console just 
hates you but you have writeable space, you can open a file and 
dprintf(fd,"blah=%d\n",blah) to it.

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list