The invention relates to a system and method for testing and/or debugging
runtime systems, particularly runtime systems used for solving MES
(manufacturing execution system) problems. According to the invention, a
user uses an editor to link graphic elements to an activity diagram that
can be visually depicted on a display device. Communication relationships
can be established between the activity diagrams by using appropriate
means. In addition, the operation of an asynchronously cooperating state
machine is described by an activity diagram.