XmlQueryContext::setDebugListener

#include <DbXml.hpp>

void XmlQueryContext::setDebugListener(XmlDebugListener *listener);

Allows the application to associate an XmlDebugListener with a query context in order to debug queries.

In order to prepare a query that contains debugging information an XmlDebugListener must be set on the XmlQueryContext used when the query is prepared. A different XmlDebugListener object (or none) can subsequently be set for query evaluation.

Parameters

listener

An instance of XmlDebugListener . The object is owned and managed by the caller.

Class

XmlQueryContext

See Also

XmlQueryContext Methods