Author Topic: Hook on variables in flashdevelop?  (Read 765 times)

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Hook on variables in flashdevelop?
« on: Wed, Aug 15, 2012 »
Hi,

Is there anyway to hook an interrupt or something in flashdevelop like what we have in visual studio that when an arbitrary variable changes, it would break at runtime?

Problem is sometimes I have a hard time finding out what changes a value, mostly basic stuff like velocity that a lot of things change it and I get it's zero when it should not be and then I have to put a lot of break points which is bad.

I can also put a get/set method around it and put break point there but then I have to do this for every variable I want to track.

Thanks.
blog, twitter, Check out my award winning game, Rot Gut: