[maemo-developers] strace

From: Visti Andresen talpa at galnet.dk
Date: Mon Feb 19 19:59:59 EET 2007
On Mon, 19 Feb 2007 18:28:16 +0200
Marius Gedminas <marius at pov.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 :)

More information about the maemo-developers mailing list