Skip to main content

Module debug

Module debug 

Source
Expand description

Debug/memory debugging infrastructure (§85 Phase 7).

UPSTREAM-PARITY: Corresponds to debugXML.c / debugXML.h in libxml2.

libxml2’s debug APIs for printing tree structure, XPath expressions, etc. These are used by xmllint --debug and other diagnostic tools.

Functions§

xmlBoolToText
Convert a boolean to text.
xmlDebugDumpAttr
Dump a debug representation of an attribute.
xmlDebugDumpAttrList
Dump a debug representation of an attribute list.
xmlDebugDumpDocument
Dump an entire document.
xmlDebugDumpDocumentHead
Dump the document head (first few nodes).
xmlDebugDumpNode
Dump a node and its subtree.
xmlDebugDumpNodeList
Dump a node list.
xmlDebugDumpOneNode
Dump a single node for debug output.
xmlDebugDumpString
Dump a debug representation of an xmlChar string.
xmlLsCountNode
Count the number of nodes in a list reachable via next pointers.
xmlLsOneNode
Dump a single node summary (like ls -l for nodes).

Type Aliases§

_IO_FILE
Re-export _IO_FILE type for C ABI compatibility.