Book a Demo

Author Topic: Object automatically destructed in sequence diag  (Read 2078 times)

nexdev

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Object automatically destructed in sequence diag
« on: October 08, 2010, 01:43:47 am »
Hi,

I've created a sequence diagram in which an object is created and then used. That object is retained by its parent for future use, however, once I add in an operation call on the child object EA shows the object's lifetime terminating when the parent's operation completes.

I have tracked this behaviour down to the Tools | Options | Diagrams | Sequence Diagrams | Activation Indicator | Garbage Collect (auto delete) option. I can see that by disabling this option I can control the delete behaviour.

However, if this option is enabled is there any way to show that a reference to an object is kept, therefore preventing the automatic deletion of objects? I don't see how this option is at all helpful unless such an option exists.

Thanks