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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: Peter Rosin 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: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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