[PATCH weston] weston: add wait-for-debugger option
Ray, Ian (GE Healthcare)
ian.ray at ge.com
Thu Nov 2 06:31:28 UTC 2017
On 01/11/2017, 16.24, "wayland-devel on behalf of Pekka Paalanen" <wayland-devel-bounces at lists.freedesktop.org on behalf of ppaalanen at gmail.com> wrote:
>
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> When you need to start Weston via weston-launch, systemd unit, or any
> other runner, it is annoying to try to get in with a debugger,
> especially if the thing you are interested in happens at start-up. To
> make it easy, a new option is introduced.
>
> The new option, implemented both as a command line option and a
> weston.ini option, raises SIGSTOP early in the start-up, before the
> weston_compositor has been created. This allows one to attach a debugger
> at a known point in execution, and resume execution with SIGCONT.
>
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Reviewed-by: Ian Ray <ian.ray at ge.com>
More information about the wayland-devel
mailing list