RE: Finding out what changes a custom property
Yes correct. FYI the set prop handler will not be called if messages are locked. Very convenient for a LIFO. Every set prop I add a line to the top of the property. The get prop handler returns the first line then deletes it. The deleting the first item(top line) can be done later if you want so to get the top item multiple times (Remember to lock messages to keep the set prop from being called when manually deleting the top line in the property). LC is a never ending well of cool things to increase productivity. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Bob Sneidar via use-livecode Sent: Monday, June 07, 2021 11:12 AM To: How to use LiveCode Cc: Bob Sneidar Subject: Re: Finding out what changes a custom property Oooh never thought of that... so setprops get called before a property gets set? Bob S > On Jun 6, 2021, at 14:10 , Curry Kenworthy via use-livecode wrote: > > > Paul: > > > Is there an debugger feature or tip or trick anyone has that can do > > the equivalent of set a break point when a property is changed and > > let me see the executionContexts to tell what the heck is changing > > it! > > Add a setprop with either a breakpoint and/or the executionContexts? > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Finding out what changes a custom property
Oooh never thought of that... so setprops get called before a property gets set? Bob S > On Jun 6, 2021, at 14:10 , Curry Kenworthy via use-livecode > wrote: > > > Paul: > > > Is there an debugger feature or tip or trick anyone has > > that can do the equivalent of set a break point when a property > > is changed and let me see the executionContexts > > to tell what the heck is changing it! > > Add a setprop with either a breakpoint and/or the executionContexts? > > Best wishes, > > Curry Kenworthy > > Custom Software Development > "Better Methods, Better Results" > LiveCode Training and Consulting > http://livecodeconsulting.com/ > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Finding out what changes a custom property
Hi Paul, In the development menu, open 'message watcher'. That's helped me with exactly what you are looking for too. Fantastic tool. Sean On Sun, 6 Jun 2021 at 21:21, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > I have a stack with a custom property, hrStart. > > Somewhere is miles of code and messages flying everywhere, something is > changing it that shouldn't. > > Is there an debugger feature or tip or trick anyone has that can do teh > equivalent of set a break point when a property is changed and let me > see the executionContexts to tell what the heck is changing it! > > Thanks in advance, > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Finding out what changes a custom property
Paul: > Is there an debugger feature or tip or trick anyone has > that can do the equivalent of set a break point when a property > is changed and let me see the executionContexts > to tell what the heck is changing it! Add a setprop with either a breakpoint and/or the executionContexts? Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Finding out what changes a custom property
I have a stack with a custom property, hrStart. Somewhere is miles of code and messages flying everywhere, something is changing it that shouldn't. Is there an debugger feature or tip or trick anyone has that can do teh equivalent of set a break point when a property is changed and let me see the executionContexts to tell what the heck is changing it! Thanks in advance, ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode