delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/04/20:47:20

X-Spam-Check-By: sourceware.org
Date: Wed, 4 Jan 2006 20:47:07 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Brett Serkez <techie AT serkez DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: services not starting with 20060104 snapshot
In-Reply-To: <1136421144.30911.251110210@webmail.messagingengine.com>
Message-ID: <Pine.GSO.4.63.0601042045200.1754@slinky.cs.nyu.edu>
References: <20060104125229 DOT GA3376 AT efn DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0601041426500 DOT 11072 AT slinky DOT cs DOT nyu DOT edu> <43BC2659 DOT 9060709 AT acm DOT org> <20060104203344 DOT GA18306 AT trixie DOT casa DOT cgf DOT cx> <Pine DOT GSO DOT 4 DOT 63 DOT 0601041822460 DOT 1754 AT slinky DOT cs DOT nyu DOT edu> <1136421144 DOT 30911 DOT 251110210 AT webmail DOT messagingengine DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, 4 Jan 2006, Brett Serkez wrote:

> > Frankly, I'm not sure what the right fix would be in this case, or
> > even how to debug this...  Any ideas on how I can simulate service
> > startup on the command line (to allow popping up gdb) would be greatly
> > appreciated.
>
> Try using a graphical debugger like ddd or insight.  Should be able to
> start either as the service,

Huh?  No, that doesn't work.  I need a service wrapper program (like
cygrunsrv), but cygrunsrv can't spawn processes, apparently.

> which start the actual service under debug control and open the X
> display for interaction, allowing debug of the service.  From the issue
> your trying to debug, not sure if the debugger itself would effect the
> behavior.

The other problem is that the debugger does not call service_main, as the
SCM does, so the behavior *is* different.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019