Try a trace statement instead. Maybe what you are doing is throwing an
What is dataType of c.myProperty . Check whether this dataType implements IEventDispatcher or Extends EventDispatcher. If it is not so, you will not be able to add event Listner on c.myProperty as well as you will also not be able to dispatch any event on c.myProperty. Doing so will result into an RTE(Run time exception) and ofcourse will break the loop in your case.
Hope this helps you