question

Aditya Prakash avatar image
3 Likes"
Aditya Prakash asked Steven Hamoen answered

Search call hierarchy or occurrences of a function in a flexsim model.

Is there a way to see function call hierarchy, and all occurrences of a global variable in a model ? A friend is trying to understand a model, this functionality will help him explore quickly.

FlexSim 16.1.0
call hierarchy
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Steven Hamoen avatar image
6 Likes"
Steven Hamoen answered

In the Debug menu you have the call stack option. That, together with the debugging options ( either placing breakpoints or using the debug() command ) will give you access to the call hierarchy.

To find occurrences of a global variable ( or any other string for that matter ) you can use the search options in the quick properties ( visible if you open a tree view) or you can use the searchdata_s() command.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.