breakpoint on parameter

Richard Gaskin ambassador at fourthworld.com
Tue May 23 11:45:57 EDT 2017


Matt Maier wrote:
 > I want to find out which parts of my code are making changes to a
 > control's parameter. Specifically, I've got an arrow that I want
 > to be black, and it is black when it's created, but then it turns
 > gray. I can't find the script that's turning it gray.
 >
 > I don't know where to put a breakpoint in the script.
 >
 > Can I put a breakpoint on that control's color parameter, so execution
 > stops whenever something modifies it and goes to the script that's
 > doing the modification?

There's a request to allow getProp and setProp for built-in object 
properties:
http://quality.livecode.com/show_bug.cgi?id=3126

I would imagine this is a non-trivial request, given what I'm guessing 
would be performance penalties.

Perhaps Mark Waddingham could offer insight on this.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list