From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How to debug modification to a variable value? Date: Tue, 26 Jan 2010 10:17:07 -0500 Message-ID: References: <87636pvrdj.fsf@thinkpad.tsdh.de> <9131EBDDBDBF4BC384201871CA79A2BE@us.oracle.com> <87d40x5m9b.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264519976 2839 80.91.229.12 (26 Jan 2010 15:32:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jan 2010 15:32:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 26 16:32:46 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NZnPC-0001zR-5l for ged-emacs-devel@m.gmane.org; Tue, 26 Jan 2010 16:32:38 +0100 Original-Received: from localhost ([127.0.0.1]:52756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZnPD-0004HG-Eg for ged-emacs-devel@m.gmane.org; Tue, 26 Jan 2010 10:32:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZnAH-0004Wf-BG for emacs-devel@gnu.org; Tue, 26 Jan 2010 10:17:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZnAC-0004Qs-KQ for emacs-devel@gnu.org; Tue, 26 Jan 2010 10:17:12 -0500 Original-Received: from [199.232.76.173] (port=52257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZnAC-0004QV-7I for emacs-devel@gnu.org; Tue, 26 Jan 2010 10:17:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:45944 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZnAB-0007al-W3 for emacs-devel@gnu.org; Tue, 26 Jan 2010 10:17:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAFALKWXktFpaAe/2dsb2JhbACBRtgVhDkEik4 X-IronPort-AV: E=Sophos;i="4.49,347,1262581200"; d="scan'208";a="54582210" Original-Received: from 69-165-160-30.dsl.teksavvy.com (HELO ceviche.home) ([69.165.160.30]) by ironport2-out.pppoe.ca with ESMTP; 26 Jan 2010 10:17:07 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 26A3770033; Tue, 26 Jan 2010 10:17:07 -0500 (EST) In-Reply-To: <87d40x5m9b.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Tue, 26 Jan 2010 09:00:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120439 Archived-At: > The main question still stands: is it possible to debug the modification > of a variable's value? That would also find the place in the code where > a destructive function causes harm. No, there is currently no such hook. It wouldn't be terribly hard to add one, I think. Patches welcome, Stefan