On 12/11/12 17:23, Antonis Tsolomitis wrote:
> So I was wondering if I can start dtsession in a way that will provide some
> useful debugging
> information. Is there any such way? Something like strace or something more 
> easy
> to read?

I think strace is indeed a nice way for quick debugging. There are a lot 
of options you can set to make the output more readable. For more 
serious debugging you can use gdb, and - since you have a working 
display - ddd should also work. That one even fits nicely into the CDE :)

You just have to make shure the debugging information is produced when 
compiling. I don't know if this is the case when building CDE with 
default options. gcc uses the -g option for that.

Also, if you let the program dump core (Depends on your shell of choice, 
use 'ulimit -c unlimited' on bash) you can use it for a backtrace with 
gdb or ddd.

Cheers, J.

-- 
Johannes von Rotz
Bachmannweg 11
8046 Zuerich
+41 79 705 23 96

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to