Search code examples
anylogic

All usages of a variable/parameter in anylogic


Is there an easy way to figure out all places where a variable or parameter is being utilised in annylogic. Trying to locate where each variable is used can be a pain during debugging.


Solution

  • Sure. Just "ignore" it in the properties and compile the model.

    enter image description here

    You will get a list of errors for all places where it is called. Double-click on each error and AnyLogic even takes you there :) enter image description here

    Else, you can also use the AnyLogic search functionality. enter image description here