X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=NIYRF7YcdhLcxew7
	k0hEjodlwyUezbxItwh4IuEUZOEP/4iTNYYRMqJdCzdWPGS8G15wI+eH2Rkt5m0h
	01+GZHDS9cLKv32TKjyd3NzP2XE16IoqMojzxRfakHFG4r9SrPfpW22FUCl1N5jm
	VGawhzLMucvwCYMBG4p95qefXrE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=eHqulx5x4y7/tfIphbN55T
	oI2Do=; b=L0Io34zkGAWbxQCtETlutfd69zMefZWQfmy7wt1zZLyzJeN73X2lHQ
	EQSUOhVH0XAyjTYC7ZFgu7qydlgFEltIiUyYRSIicJSgbn4n8PHGmMklWx+en5kY
	uTY1D5P88+Y/i77QPkUgI1OvGIDgSKMqOmT943/Op9YnyjP2f6Ef8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=2016-10-14, 20161014, Rosin, rosin
X-HELO: mail.lysator.liu.se
Subject: Re: Cygwin shell eats Windows exceptions?
To: cygwin@cygwin.com
References: <d0503299c2ae40aaa34023285486deb0@ntmaexbe04.bedford.progress.com> <2e88aba8-6214-4bef-b248-cc7809afea4a@lysator.liu.se>
From: Peter Rosin <peda@lysator.liu.se>
Message-ID: <b2fc486d-274f-ce32-6209-aab0f641d9ad@lysator.liu.se>
Date: Fri, 14 Oct 2016 00:55:14 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <2e88aba8-6214-4bef-b248-cc7809afea4a@lysator.liu.se>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit



On 2016-10-14 00:52, Peter Rosin wrote:
> On 2016-10-13 16:35, Bill Smith wrote:
>> Hi,
>> I'm trying to run my Windows C++ application which has a call to DebugBreak() to bring up the popup asking if you want to debug this application or terminate it.  If I run the program within Cygwin, the program just exits. 
>>
>> If I run the application from a Windows command prompt, I get the Windows popup that I'm expecting.  It seems that the Cygwin shell is eating exceptions (sigsegv or similar signals?).  Is there a way for me to disable this behavior?  
> 
> I believe you want the reverse of this program:
> 
> https://github.com/msysgit/msys/blob/master/winsup/utils/error-mode.c
> 
> error-mode can make the popups go away (getting cygwin behavior
> on msys), but it should be possible to modify it to make the
> popup appear instead. I think...

feeep, should have read my old code before I posted. The program
should fit the bill. My memory is apparently bad but short.

Sorry for the noise.

Cheers,
Peter

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

