Tuesday, April 11, 2017

Tip of the Day: Error Tracking for Entry/Exit Procedures
Product.......: R:BASE X/X Enterprise (Version 10)
Build.........: 10.0.2.20411 or higher
Section.......: Commands, Trace, Debug
Keywords......: PROPERTY, APPLICATION, EEP, Trace

A new feature in R:BASE X/X Enterprise is Error Tracking for Entry/Exit Procedures, to log EEP names that are executed. New PROPERTY APPLICATION parameters allows users to capture and check the value for the last EEP executed to pin-point where an error
occurred.

    PROPERTY APPLICATION TRACE_LAST_EXEC_EEP ON/OFF
    PROPERTY APPLICATION TRACE_ALL_EEP ON/OFF
    PROPERTY APPLICATION LOG_EXEC_EEP ON/OFF

TRACE_LAST_EXEC_EEP - Specifies whether to activate EEP name monitoring. When ON, R:BASE sets the RBTI_LAST_EXEC_EEP variable value to the last EEP code that was "executed", meaning only the EEPs with code. The EEP Name is stored as "<CompID>|<EEPName>". If a Component ID is not defined, the 'Caption' property is used in place of the Component ID (if the 'Caption' property exists). The EEP tracking can add overhead to R:BASE, so it
should be tuned OFF when not needed.

A startup file may have the following:

    PROPERTY APPLICATION TRACE_LAST_EXEC_EEP ON
    PROPERTY APPLICATION LOG_EXEC_EEP ON

TRACE_ALL_EEP - specifies to set the RBTI_LAST_EXEC_EEP variable value to the last EEP that was "triggered", meaning all EEPs, containing code or not. If TRACE_ALL_EEP is OFF, the RBTI_LAST_EXEC_EEP variable value will have the last event "with code" that was "executed". If TRACE_ALL_EEP is ON, the RBTI_LAST_EXEC_EEP variable value will have the last event that was triggered (with or without code). For example, a button's "On Click" EEP will be triggered if you click it. If you have code assigned to it then it will be
executed.

In most cases, users would have TRACE_ALL_EEP set to OFF to only be concerned with events where code is assigned. TRACE_ALL_EEP set to ON is helpful if you want to know more of the
internal event sequence.

A startup file may have the following:

    PROPERTY APPLICATION TRACE_LAST_EXEC_EEP ON
    PROPERTY APPLICATION TRACE_ALL_EEP ON
    PROPERTY APPLICATION LOG_EXEC_EEP ON

LOG_EXEC_EEP - Specifies to log the value of RBTI_LAST_EXEC_EEP in the current output. An
example log would look like the following:

Balloon Tip Feature|OnClick
BalloonTip|OnBeforeStart
BitButton1|OnClick
&Close|OnClick
New Balloon Tip Feature|OnClose
Cue Banner Feature|OnClick
CueBanner|OnBeforeStart
&Close|OnClick
Enhanced Calendar Controls|OnClick
EnhancedCalendar|OnBeforeStart
Enhanced Calendar Control|OnClose
Enhanced DB Grid|OnClick
|OnAfterStart
EGB_Next|OnClick
EGB_Next|OnClick
EGB_Next|OnClick
EGB_Close|OnClick
|OnClose

One of the most important aspects in business growth is your company data, and no one else has more invested in your success than R:BASE Technologies. Invest forward with R:BASE!

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
--
34 years of continuous innovation!
19 Years of R:BASE Technologies, Inc. making R:BASE what it is today!

--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to