cut()  email()

Chapter 5: General Objects and Methods

debug()

Description

Used in AIM development to dump blob contents into the xlog file for debugging purposes. This file resides in the current working directory, usually the directory from which the user runs the program.

WARNING! Use this method with caution. Because dumping the contents of a blob is time consuming, this method is not recommended for general use.

Syntax

debug(string comment);

Parameter

Description

comment

A string containing a message to be placed into the xlog file before the information in the blob. Use to identify the blob contents.

Return value

Integer. Returns the blob size.

Usage

Pointer to object

Object

string header;

myblob.debug();

header=”This is blob A:”;

pb->debug(header);





Copyright © 2005. Sybase Inc. All rights reserved. email()

View this book as PDF