A list of products available on this site
Documentation for XtraMania's xtras
Prices and links to the online store
Xtras, PDFs, samples
Have a question? Ask us!
Contacts
Logo. www.xtramaina.com  
Home Search E-mail
ADOxtra Reference/obj.DebugMode

obj.DebugMode

Syntax

bDebugMode=obj.DebugMode
obj.DebugMode=bDebugMode

Gets

Boolean value, which indicates whether wrapper currently in debug mode.

Sets

Boolean value. Use true to set debug mode. Use false value, to clear the debug mode flag of the wrapper instance.

Description

ADOxtra object wrapper supports special debugging mode. While the debug mode is set wrapper instance outputs any error messages directly to the Message window every time error happens.
By default, ADOxtra wrappers created by CreateObject call inherit the xtra's default value for debugMode. You may change this default with Init xtra-level method. Wrappers created by other wrappers inherit this setting.

Note: While you are just investigating ADO capabilities it is better to set Debug Mode by default, to ensure you always know if something goes wrong. It might be important while using cascading properties, since every property returning ADO Object will be wrapped by a new instance of ADOxtra wrapper. So, you may skip useful error description.

Site homeSearchContact author © Eugene Shoustrov. www.xtramania.com