v5:userguide:debug
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v5:userguide:debug [2023/04/08 15:47] – Moved "Special options" section within "Usage" section and renamed to "Possible values" dregad | v5:userguide:debug [2024/01/09 11:20] (current) – [Description] link to Logging page dregad | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Description ===== | ===== Description ===== | ||
- | Enabling debug mode makes the driver return copious amounts of debugging information from both ADOdb and the PHP driver itself. Information is displayed on both standard output (STDOUT) and standard error (STDERR) channels. | ||
+ | Enabling debug mode makes the driver return debugging information from both ADOdb and the PHP driver itself. | ||
+ | |||
+ | The output includes the executed SQL statement with parameters, as well as error messages and backtrace information if there are problems. | ||
+ | It is suitable for viewing in a browser (see [[# | ||
+ | |||
+ | See [[v5: | ||
===== Usage ===== | ===== Usage ===== | ||
Line 20: | Line 25: | ||
include ' | include ' | ||
$conn = newAdoConnection(' | $conn = newAdoConnection(' | ||
+ | |||
+ | # Here is the earliest point where Debug Mode can be set | ||
+ | |||
$conn-> | $conn-> | ||
+ | |||
+ | # Enable Debug mode | ||
$conn-> | $conn-> | ||
+ | |||
$recordSet = $conn-> | $recordSet = $conn-> | ||
</ | </ |
v5/userguide/debug.1680961647.txt.gz · Last modified: 2023/04/08 15:47 by dregad