Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2006 23:51:57 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        trowa-4 <trowa-4@yahoo.com.tw>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Process Debugging questions
Message-ID:  <86irhlfvg2.fsf@dwp.des.no>
In-Reply-To: <571883.4868.qm@web72011.mail.tp2.yahoo.com> (trowa-4@yahoo.com.tw's message of "Sun, 12 Nov 2006 01:24:30 %2B0800 (CST)")
References:  <571883.4868.qm@web72011.mail.tp2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
trowa-4 <trowa-4@yahoo.com.tw> writes:
> FreeBSD provides the ptrace system call for controlling and
> debugging the execution of a process.
>
> An alternative to the ptrace system call is the /proc filesystem.
>
> The functionality provided by the /proc filesystem is the same as
> that provided by ptrace; if differs only in its interface.
>
> Are there having a better method or other method?

They both suck, for different reasons.  In theory, ptrace sucks less
than proc, but it lacks some of proc's functionality, and fixing that
is very hard.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86irhlfvg2.fsf>