WebSpeed
Product Update Bulletin


Check the Status Of the Debug Mode

The Debug mode allows you to examine and correct the errors that display in the browser when you are running code. This mode can provide information about the WebSpeed Agent, the system, and the path of an application.

When your application is in Production mode, the Debug mode is always off, regardless of the value on the Debug setting. When you are in Development mode, you can set values for the Debug mode to enable or disable debugging. Table A–3 and Table A–4 detail how each of these modes govern the values associated with the Debug mode.

Procedure Using the Progress Explorer Tool

To check the status of the Debug mode using the Progress Explorer Tool, perform these steps:

  1. Double click the WebSpeed folder on the left-hand side of the main Progress Explorer window.
  2. Right click the broker object.
  3. Choose Properties from the shortcut menu.
  4. Click on Agent Advanced Features to display properties associated with the WebSpeed Agent. The wsbroker1 Properties window shown below shows the Debug mode field and its three options.
  5. The Agent application mode value governs which Debug mode values are available:
    • If the value set for the Agent application mode is Production, the Debug mode is always off, regardless of the value that displayed on the Debug setting.
    • If the value set for the Agent application mode is Development, you can set values for the Debug mode that allow you to enable or disable debugging.
    • Table A–3 and Table A–4 detail how each mode governs the values associated with the Debug mode.

Procedure Using the ubroker.properties File

To check the status of Debug mode from the ubroker.properties file, perform these steps:

  1. Review the SrvrAppMode setting for the broker property sections that you want to affect. It will be either Production or Development.
  2. The specific mode you are in governs how the system interprets the value you set for the Debug mode. Table A–3 and Table A–4 detail this information.

  3. Add the srvrDebug property to the broker property sections that you need to change.
  4. Set the value for the srvrDebug mode.

Table A–3 describes in detail how the Production mode governs the Debug mode. Similarly, Table A–4 details how the Development mode governs the Debug mode.

Table A–3: How the Production Mode Effects the Debug Mode Values 
When the Debug mode is...
Then...
[blank]
The Debug mode displays either the enabled or disabled value set at the srvrAppMode level.
However, regardless of the value set at the srvrAppMode and subsequently displayed as the default value for the Debug mode, the Debug mode is off.
Enabled
The Debug mode is automatically off.
Disabled
The Debug mode is automatically off.

Table A–4: How the Development Mode Effects the Debug Mode Values 
When the Debug setting is...
Then...
[blank]
The Debug mode displays and honors the default value set at the srvrAppMode level. That is, if the default value is defined as enabled, then the Debug mode is on. If the default value is defined as disabled, the default value is off.
Enabled
The Debug mode is set to on; you can debug files.
Disabled
The Debug mode is set to off; you cannot debug files.
NOTE: If the Debug mode is set to Disabled, then specifying ?debug=on in the URL has no effect.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095