List Info

Thread: strace




strace
user name
2007-02-19 05:10:08
Hi!
I want to "debug" my program, but strace doesn't seem to work...
any ideas?

Thanks
--
Carlos GP
Re: strace
country flaguser name
Denmark
2007-02-19 11:59:59
On Mon, 19 Feb 2007 18:28:16 +0200
Marius Gedminas <mariuspov.lt> wrote:

> On Mon, Feb 19, 2007 at 12:10:08PM +0100, Carlos GP
wrote:
> > I want to "debug" my program, but strace
doesn't seem to work...
> > any ideas?
> 
> You can always add printf statements to the source
code, then run it
> from an xterm/ssh with the run-standalone.sh script.
> 
> There's also gdb.
> 
> Marius Gedminas
> -- 
> I code in vi because I don't want to learn another OS.

> 		-- Robert Love

strace works inside my "apophis scratchbox".
However when using cpu transparency  (arm target) you have
use option -f with strace to allow it to trace child
processes.
Option -f is also useful for you "system problem",
if you want to see what happens "inside" ls.

I would also recommend gdb 
_______________________________________________
maemo-developers mailing list
maemo-developersmaemo.org
h
ttps://maemo.org/mailman/listinfo/maemo-developers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )