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
BinaryXtra Reference/DebugMode

objBinary.DebugMode

Syntax

bDebugMode=objBinary.DebugMode
objBinary.DebugMode=bDebugMode

Gets

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

Sets

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

Description

BinaryXtra wrapper object 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, BinaryXtra wrappers created by Create call inherit the xtra's default value for debugMode. You may change this default with Init xtra-level method. Wrappers created by other xtras (ADOxtra or VbScriptXtra) inherit DebugMode setting from objects that created the instance.

Note: While you are just investigating BinaryXtra capabilities it is better to set Debug Mode by default, to ensure you always know if something goes wrong.

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