Configuring O4W to run in Debug mode

The Debugger requires desktop interaction, O4W does not. It is necessary then to have O4W run in desktop mode. Two changes need to be made to the Registry Key for the O4W application that is in use. StartUpFlags should be set to the value of 1. ShutdownFlags should be set to the value of 1.

This change to the registry settings causes the OEngineServer to create visible engines on the desktop, instead of invisible engines that have no desktop interaction.

If you are running the OEngineServer as a service, stop the service. From the command prompt locally on the system that you are testing/developing on (of course this also means that this has to be the system where OpenInsight is installed), manually start the engineserver: java –jar oesocketserver.jar –d 3

Now, if a debug statement is encountered, or any error occurs that would invoke the debugger, the debugger will start up in a visible mode.

  • guides/o4w/configuration/debug.txt
  • Last modified: 2023/07/24 13:34
  • by 127.0.0.1