From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#50629: 28.0.50; hard to debug an uncaught error with ert Date: Mon, 29 Aug 2022 17:20:03 +0200 Message-ID: References: <15445.1631834888@alto> <87pmgncjvg.fsf@gnus.org> <871qt1aklk.fsf@gnus.org> <875yid94k2.fsf@gnus.org> <871qt192vj.fsf@gnus.org> <040ecbba-3db2-44dc-b398-8365c7542dd3@gmail.com> <87ilmdduxu.fsf@localhost> <875yicptwk.fsf@gnus.org> <87v8qbnm4i.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: Mike Kupfer , Ihor Radchenko , 50629@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 29 17:21:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSgZj-0005Xk-37 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 17:21:19 +0200 Original-Received: from localhost ([::1]:48184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSgZi-0000Ik-5L for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 11:21:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSgZT-0000HL-Q9 for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 11:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSgZS-00011U-A2 for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 11:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSgZS-0003Tn-65 for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Aug 2022 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50629-submit@debbugs.gnu.org id=B50629.166178641413254 (code B ref 50629); Mon, 29 Aug 2022 15:21:02 +0000 Original-Received: (at 50629) by debbugs.gnu.org; 29 Aug 2022 15:20:14 +0000 Original-Received: from localhost ([127.0.0.1]:33427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSgYg-0003Rh-2i for submit@debbugs.gnu.org; Mon, 29 Aug 2022 11:20:14 -0400 Original-Received: from mail-ej1-f49.google.com ([209.85.218.49]:47056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSgYc-0003RR-R3 for 50629@debbugs.gnu.org; Mon, 29 Aug 2022 11:20:12 -0400 Original-Received: by mail-ej1-f49.google.com with SMTP id bj12so16347595ejb.13 for <50629@debbugs.gnu.org>; Mon, 29 Aug 2022 08:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc; bh=pPO5W9DL6WARL7pCg1xC/fF4hpYkJ/BWA+UAstkmAW0=; b=EjIjEllkx1x9P7tuGujT6PP+4FL4sNPHP49953BFfmDhAXkefYOFPqev2ZqkLzrrDn rqYRF9AEbwGJiM+GKHZl9SsUmRQ/ftmIXM9+kzuFbIQTlATgq6LLjGJPOhTyVGnXxRCQ vIdcG4wV/c08sW0WpDcytEqJ9vJo9059ZYFVRABVIXM2g4ndrAM1aUya+eFjQ1J5Fd1g BatgjBY2g+1i58yZXBnJd15SfCTzroxZpebVnkvkHttHyooD80g7yJwKuNe2f8MdSl5/ EPSYTe6EdFp0gRH5CdlzuI+oTjXSdyxDt68Su99m4nam3Xu5iO4sAdXaRMtd6a/CgO2C bwXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc; bh=pPO5W9DL6WARL7pCg1xC/fF4hpYkJ/BWA+UAstkmAW0=; b=EPpb+xAqD8JEgeZlm8LP6/p1pdRUIZBh8Bad/tr28ziv47s9wo7KTO2uhfNzptiNC6 wRPXlTnxvIeiKMatTSABwlsDZCM6da03lHRGR1xrbDHIa6Y3Qizy31CYZgMpdE/IkNrq NQprOQVPH4xaLsHSQRWHK7+LuDH7UOvpwuIz1tZwA9PjcdwbGd4s5ygFT/fv72CBb85k s/aRotmr6Q36fcQdUpMiX5MeG+85uEVPoXmcOmHxjNdN50K02fgMTpTjZQ5VEINpM8ly ydlHykUTRKIBblWt5AqsJ3G2m/pzVYlokb7+xSE+xUKOqFgfX23Ddncxg/1C8U409b2p SjGQ== X-Gm-Message-State: ACgBeo3iu3D5phZSMGjNzpJ4SDIKADs522z8uQusJUBcvSohy69QCAXQ jkb7H3W936bznGdE6GKRPNU= X-Google-Smtp-Source: AA6agR4jFN6NNnm3NS7YZNBtikhIybTEf8UP9wBB92One7sa0NbbOueGcDO+3f8HgXZhkwj3epqPcA== X-Received: by 2002:a17:906:4d9a:b0:73d:b425:d6b8 with SMTP id s26-20020a1709064d9a00b0073db425d6b8mr13830463eju.120.1661786405006; Mon, 29 Aug 2022 08:20:05 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36666.dip0.t-ipconnect.de. [217.227.102.102]) by smtp.gmail.com with ESMTPSA id r23-20020a50aad7000000b004424429afd4sm5844014edc.16.2022.08.29.08.20.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 08:20:04 -0700 (PDT) In-Reply-To: <87v8qbnm4i.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 29 Aug 2022 16:46:21 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241035 Archived-At: Lars Ingebrigtsen writes: > Gerd M=C3=B6llmann writes: >> You mean the signal-hook-function? It is invoked, so one can do >> something there. > > No, I was thinking in the > > (args-574 (condition-case err (let ( foo) > (list 42 (foo))) > (error (progn > (setq fn-573 #'signal) > > `error' handler here... I'm afraid that's too late. The stack frames of the error have already been unwound when we are back in the condition-case.