delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/10/13/18:52:54

X-Recipient: archive-cygwin AT delorie DOT 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=ds4zH9usRPhTyXP5
GgmyQVqjbI8QJh9Q7FsXD3LC8aF1RSm1DUFO9f9Xk/t4WPygrQtUWjmYwGgpgRD4
V69DmLxcNOArECpmaRmQ7VP6uGvT9vYOGV9xL2XAudfn5JJ1d9FDV93Y/IfPfrHz
NSrBvap5WuSWc/Y8mY6iDC1zSDM=
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=kWjdNPOwdSl05LJ0rJQrLW
n9Q2k=; b=ohsXiaoDiqrlESQgXUfcuqXkJrubQ2wSTPJwdFEP5NBv8x0aJ8VvIW
e90K9kE6oh1BHmtukWi8i4KvXsFhPsfqrwjMKx5Uutw9YWYsvGZtA3t/gC38Ngvv
fEXAW6dYDt83xflSxYQU55jn5t4teiKG6u9h0tIdNU4ae98BUVd5g=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
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=H*Ad:D*liu.se, H*Ad:D*se, H*F:D*se
X-HELO: mail.lysator.liu.se
Subject: Re: Cygwin shell eats Windows exceptions?
To: cygwin AT cygwin DOT com
References: <d0503299c2ae40aaa34023285486deb0 AT ntmaexbe04 DOT bedford DOT progress DOT com>
From: Peter Rosin <peda AT lysator DOT liu DOT se>
Message-ID: <2e88aba8-6214-4bef-b248-cc7809afea4a@lysator.liu.se>
Date: Fri, 14 Oct 2016 00:52:22 +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: <d0503299c2ae40aaa34023285486deb0@ntmaexbe04.bedford.progress.com>

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

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

- Raw text -


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