From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Why is it so difficult to get a Lisp backtrace? Date: Sat, 25 Jun 2022 18:27:40 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12534"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 25 18:29:21 2022 Return-path: Envelope-to: ged-emacs-devel@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 1o58ev-00033Q-Bt for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Jun 2022 18:29:21 +0200 Original-Received: from localhost ([::1]:43856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o58eq-0003AB-PI for ged-emacs-devel@m.gmane-mx.org; Sat, 25 Jun 2022 12:29:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o58dX-00020o-EV for emacs-devel@gnu.org; Sat, 25 Jun 2022 12:27:55 -0400 Original-Received: from mail-pj1-f54.google.com ([209.85.216.54]:55265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o58dW-0001QJ-2P for emacs-devel@gnu.org; Sat, 25 Jun 2022 12:27:55 -0400 Original-Received: by mail-pj1-f54.google.com with SMTP id cv13so5453165pjb.4 for ; Sat, 25 Jun 2022 09:27:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G+FC3UxuzbT6QhHYI3fW91DVnpFajiOykYOvOdcDPSI=; b=dyqEF+xOz7R9oTASZoK3ID+v6dObmUdPsFsW5uZXvye4WNCbsRhchoQ0BIU/3JzPMu hsmjL6beH18UMtMT4MwzfI00Oy5UzxdhOwBM70pPZb4vIHVuzjGCJsGvYNKhscmQZECd rYw5ya4+dXyCfwwTNg2AlGmGPPl3fNSI11ZFt8R0MRZIq2ifsoER0tgwwvQIiqmoeCYS Lp1+cZ2q859+vr/JTnChdSi0gGirRw8SIMjWsFmluJy7Y/StggWHHfeWjt8cmYVq9Tk4 2ScSM6BS+9lXZnZEMlSvaXrdRT1ASNvuDXhueQD3bwobzco1gr0FNRwDcMsOgFVIQYup EoMA== X-Gm-Message-State: AJIora+4mpA/sSvhcPzIWQEAPNvYjmj3/tgXZTszQQC8Jku1QOBj5eWK 2/Q2Dt74qtE/ZmtLUU5iRssrPm24InOPeFJT+CCf66xX X-Google-Smtp-Source: AGRyM1tWEU+91u3pTAK2Fn+YFyCeexpBqtEcAwnTs3lvagPKlQ5l4wcWMyznGOHXHIKaCc1Kpepn5E522p+ljOkS/A0= X-Received: by 2002:a17:902:e8d7:b0:168:e2da:893c with SMTP id v23-20020a170902e8d700b00168e2da893cmr4914449plg.152.1656174471533; Sat, 25 Jun 2022 09:27:51 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.216.54; envelope-from=stefankangas@gmail.com; helo=mail-pj1-f54.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291620 Archived-At: Alan Mackenzie writes: > One idea I had was to have an optional numerical argument, saying how > many commands to leave the thing in place for. Yet another, conflicting, > idea would be to have an optional boolean argument to exclude > debug-on-signal from the mix, so as not to get too many "expected" > backtraces. In my personal use, I'd probably put this behind a timer so that it is disabled again automatically after 30 seconds (or something). I do that for `menu-bar-mode', for example, since I also only ever enable that temporarily for testing. But that might be too hacky for general use.