delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/16/10:05:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <4030DBAD.9030308@att.net>
Date: Mon, 16 Feb 2004 10:03:09 -0500
From: David Fritz <zeroxdf AT att DOT net>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Known feature?
References: <402FFCB8 DOT 5030807 AT tlinx DOT org> <20040216124105 DOT GE18953 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040216124105.GE18953@cygbert.vinschen.de>
X-IsSubscribed: yes

Corinna Vinschen wrote:

> On Feb 15 15:11, linda w wrote:
> 
>>I decided to trace a 3 day long running process (the dd/bzip program) 
>>that was
>>nearing completion (had a couple hundred meg to go), and much to my 
>>chagrin,
>>when I wanted to stop tracing, I pressed control-c -- and unlike the 
>>behavior I'm
>>used to in linux, it didn't just terminate the process being traced, but 
>>also
>>terminated the program that had been attached to!
>>
>>Very very much of a bummer, since it takes 3+ days, apparently, to run 
>>and come near
>>to completing this test.  Very, very sad....oh well...
>>
>>Is this a "feature" or a "bug"?
> 
> 
> It's Windows.
> 

Indeed it is.  Though I'd note that Windows XP and later allow debuggers to
detach from a process without killing it. (DebugActiveProcessStop(),
DebugSetProcessKillOnExit()).

PTC et al.

Cheers





--
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