Book a Demo

Author Topic: New Message  (Read 3427 times)

dsargrad

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
New Message
« on: April 03, 2009, 05:37:36 am »
If I specify the life cycle of a message as new, then for some reason the object that it is creating is "automatically" deleted (there is an x at end of lifeline even if I dont create a delete message).

This doesnt happen with all objects in my sequence diagrams, but it seems to happen with some.

I'm sure that I'm doing something wrong, but I dont know what.

Can someone please help me to understand.

Thank you.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: New Message
« Reply #1 on: April 03, 2009, 10:42:55 pm »
There is an option somewhere about "automatic cleanup" or something like that.  Search the forum about 2 years ago.

hth
bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

dsargrad

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: New Message
« Reply #2 on: April 03, 2009, 11:23:03 pm »
Yes that helped.

The location for this option is

Tools/Options/Diagram/Sequence/Garbage Collect (auto delete)

Kevin G. Watson

  • EA User
  • **
  • Posts: 217
  • Karma: +0/-0
  • I love EVERYTHING including Microsoft
    • View Profile
Re: New Message
« Reply #3 on: April 07, 2009, 04:50:16 am »
Hey....  Ooops!

Thats kinda cool.... if it's a 'new' thingie with a life cycle; all lifecycles must end ( as must all synchronious meaasges return ).

I guess you'd then add a fragment or more, and in them you wouldn't expect a 'new' or a '[td][/td]dead' indicator.

Kevin [smiley=2vrolijk_08.gif]
« Last Edit: April 07, 2009, 04:56:09 am by badboyabout »