Skip to content

Debugging

Johannes Heucher edited this page Oct 12, 2022 · 3 revisions

There are several tools included in Xyna Factory that can be used to debug problems.

Table of Contents

Java Debugging

It is possible to remote debug code running in Xyna Factory using an Integrated development environment (IDE) like Eclipse. Therefore start the Xyna Factory with CLI parameters -d <port>. Example: The command ./xynafactory.sh -d 4000 start opens the Java Virtual Machine (JVM) debugging port.

Example in Eclipse:

  • Choose Run in the Menu
  • -> Debug Configurations
  • Double click Remote Java Application
  • Set host and port.
  • Click Debug

Logging

The Xyna Factory uses Apache Log4j2 for logging.

Workflow Debugging

It is recommended to use the graphical Audits of Workflows. Audits can be configured by setting the corresponding Monitoring Level.

CLI

  • The Xyna Factory's CLI provides many tools for monitoring. See CLI Monitoring for details.
  • The installed Java distribution may provide many tools as well. Look for executables such as jstat in $JAVA_HOME/bin

See Also

Clone this wiki locally