From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: How do you inspect variables when debugging with EDebug? Date: Fri, 01 Apr 2022 08:42:04 +0200 Message-ID: <874k3dz409.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14019"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.12; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org To: John Kliny Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 01 08:57:14 2022 Return-path: Envelope-to: geh-help-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 1naBDb-0003Sg-6N for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Apr 2022 08:57:11 +0200 Original-Received: from localhost ([::1]:42294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1naBDa-0005br-3k for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 01 Apr 2022 02:57:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naBCN-0005ZR-IR for help-gnu-emacs@gnu.org; Fri, 01 Apr 2022 02:55:55 -0400 Original-Received: from [2001:470:142:3::e] (port=48014 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naBCN-0003SF-4N; Fri, 01 Apr 2022 02:55:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=xNUXFfL20tL14WuuiFiPxkZU4AuiAAda8KVn1DJK5NA=; b=ESfDwqcEOKkPku PbnGEkBHKwm8cE7h3VJX5ARhOpatJR3a1N9uF5kDDt2S+mLx4REwjh6vN9yp2iEqu2anvHAxrjPTR ZQAQa4hBAlpjbFqZLmjRWF7T10Y2+8p2zR5TfRgCP+EHOatqsuhhKgGu4qz7/0agPWDIx3fzVt28l XlE85oWsIRB0MxGRO6Cp9VoODVwwvezaPXylhQXGn/ITYjxGouxADN+ClVJcDRynO0R2xWGaYFT18 Os5JgrnksNP7mwXSY6g3PJOQ+UxN+xmUSk9HgfLeYddeTApRvwMFH0zX1lo3wC0y4mxVPP8WVp2pm eEIGFdCY2ghp8RXj5kDQ==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:59149) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naBCM-0002Qt-Qk; Fri, 01 Apr 2022 02:55:54 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 3421827C0054; Fri, 1 Apr 2022 02:55:54 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 01 Apr 2022 02:55:54 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeihedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufffjgfkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepveevieekteekveeigfefffeivdetgeduvdffue euudevgedttdehvdfhueevfffhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 1 Apr 2022 02:55:53 -0400 (EDT) In-reply-to: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136815 Archived-At: John Kliny writes: > In the past C-h v worked for this, but apparently by moving to > lexical-binding C-h v cannot pick up let variables at point > anymore, it says variable is not bound. > > You can type 'e' and type the variable name, but that is not > convenient at all. > > Is there a way like before with C-h v, so you can just put cursor > on a variable during debugging, press a command and it shows the > value? > > How do you check let-bound variables when debugging with EDebug? I look at the printed value when stepping over the variable or use `e'. The evaluation list buffer (`E`) is also there. But I agree that's not very convenient when you have to type the name of the local all the time. I'd rather prefer if I had a separate window showing the current values of all locals (maybe with the option to add some globals there, too [other debuggers call those watches]), or some tooltips or overlays showing the current values of locals. Maybe one could come up with some eldoc function which would pass the symbol under point to `e' automatically... Bye, Tassilo