Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

Anchor
top
top

5. Debugging and Profiling

Debugging

Usually, the easiest way to debug ServiceMix Runtime or any application deployed onto it is to use remote debugging.
Remote debugging can be easily activated by setting the SERVICEMIX_DEBUG environment variable to TRUE.

...

Last, inside your IDE, connect to the remote application (the default port to connect to is 5005).

#top

Profiling

YourKit

You need a few steps to be able to profile ServiceMix Runtime using YourKit.
The first one is to edit the etc/config.properties configuration file and add the following property:

...