Alzabo::Debug(3pm)

Alzabo::Debug3pm

Creates constants used to turn on debugging

Usage

  export ALZABO_DEBUG='SQL|TRACE'
  ... load and run code using Alzabo ...
  export ALZABO_DEBUG=METHODMAKER
  ... load and run code using Alzabo ...

Overview

This module creates constants used by other modules in order to determine what debugging output should be generated.

The interface is currently experimental.

Usage

Currently, the only way to turn on debugging is by setting the "ALZABO_DEBUG" environment variable. This variable can contain various flags, each separated by a pipe char (|). Each flag turns on different types of debugging output.

These flags must be set before Alzabo is loaded, as debugging is turned on or off through the use of constants.

The current flags are:

•

SQL

Generated SQL and its associated bound variables.

•

TRACE

A stack trace will be generated any time SQL is generated.

•

METHODMAKER

The "Alzabo::MethodMaker" module will generate verbose output describing the methods it is creating.

•

REVERSE_ENGINEER

The modules involved in reverse-engineering will generate output describing what it finds during reverse-engineering.

•

ALL

Turn on all flags.

For now, all debugging output is sent to "STDERR".

Releases

11 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0–7
  4. 8
  5. 9–10
  6. 11
  7. 12–13

From libalzabo-perl 0.92-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.