Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Method responsible for attribute change

Valued Contributor
Valued Contributor

Hello dear community,

 

is there a way to find the method responsible for changing the user-defined attribute?

I have several methods in my model and i need to find out, which method changed the user-defined attribute in certain moment.

 

Many thanks for every kind of help.

 

BR

2 REPLIES

Re: Method responsible for attribute change

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

add an observer control to the object for the user defined attribute and write the command 

 

debug

 

into the method

 

if there is a change in the value, the debugger window opens and you find the "caller" in the call chain

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Method responsible for attribute change

Valued Contributor
Valued Contributor

Great advice, many thanks.

Thank you.

 

BR