Consultor Eletrônico



Kbase P78025: Dynamics session_debug_alert session type property does not work
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/26/2004
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

Dynamics session_debug_alert session type property does not work

The -debugalert has been removed from the client's startup parameters

Setting the session_debug_alert session type property to NO or FALSE
does not remove the <Help> button from the message dialog box

Every message box in the run time session has the <Help> button to
show the 4GL stack trace

Every message box in the run time session has the title having
"Press HELP to view stack trace"

CAUSE:

The profile property 'DebugAlert' takes the precedence in setting
the SESSION:DEBUG-ALERT attribute.

FIX:

In the application's menuController window choose the
menu item: File -> Preferences...
In the 'General' tab folder there is a toggle box named
'Debug alert enabled' which needs to be unchecked which prevents
the debug alert to be active for that session. It is required
to be logged in as the user which needs to have this option disabled.
The same behavior can be achieved programmatically using the following code:

RUN setProfileData IN gshProfileManager (INPUT "Window":U,
               INPUT "DebugAlert":U,
               INPUT "DebugAlert":U,
               INPUT ?,
               INPUT "NO":U,
               INPUT NO,
               INPUT "PER":U).