From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.devel Subject: Re: How to debug modification to a variable value? Date: Wed, 27 Jan 2010 08:37:49 +0100 Message-ID: <4B5FED4D.60000@online.de> 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=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1264577839 11817 80.91.229.12 (27 Jan 2010 07:37:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jan 2010 07:37:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 27 08:37:12 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 1Na2SZ-0001b6-Dz for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2010 08:37:07 +0100 Original-Received: from localhost ([127.0.0.1]:37964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na2Sa-0004W0-Pc for ged-emacs-devel@m.gmane.org; Wed, 27 Jan 2010 02:37:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Na2S8-0004Ec-E0 for emacs-devel@gnu.org; Wed, 27 Jan 2010 02:36:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Na2S3-00049S-0x for emacs-devel@gnu.org; Wed, 27 Jan 2010 02:36:39 -0500 Original-Received: from [199.232.76.173] (port=60578 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Na2S2-00049E-S4 for emacs-devel@gnu.org; Wed, 27 Jan 2010 02:36:34 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:53709) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Na2S2-0005S8-AE for emacs-devel@gnu.org; Wed, 27 Jan 2010 02:36:34 -0500 Original-Received: from [192.168.178.27] (p54BEA2C6.dip0.t-ipconnect.de [84.190.162.198]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MSFW3-1NO6aq3a3v-00TY6m; Wed, 27 Jan 2010 08:36:32 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: <87d40x5m9b.fsf@thinkpad.tsdh.de> X-Provags-ID: V01U2FsdGVkX18qETa72gqOei4QTI4ppu5xEY0Qswv+ejszMRN VThF+DScfAoxgBz0VhfNgPN4yyntra4IKlRCJSSuBc8fZ+r2Vd lfc9UTv5zjJTSHwIxtedLoQY7wQsAj98f1zmhcpxks= 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:120484 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. > > Bye, > Tassilo > > (*) Maybe I forgot the re-evaluation? Well, I'll see if it occurs > again... > > > Hi Tassilo, what about to run a form with "assert MY-Values last-command this-command" with a timer in background, so it's signaled as soon the var is changed? Andreas