ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:userguide:debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:userguide:debug [2024/01/09 11:03] – Add comments in sample code block dregadv5:userguide:debug [2025/06/01 13:21] (current) – Remove square brackets in tags dregad
Line 9: Line 9:
 ===== Description ===== ===== Description =====
  
-Enabling debug mode makes the driver return copious amounts of debugging information from both ADOdb and the PHP driver itself. +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 [[#formatting|Formatting section below]])  
 + 
 +See [[v5:reference:logging]] for details on how to capture and redirect output.
 ===== Usage ===== ===== Usage =====
  
Line 103: Line 108:
   * Some drivers, the SQL server driver in particular, produce overwhelming volumes of debugging information.   * Some drivers, the SQL server driver in particular, produce overwhelming volumes of debugging information.
  
-{{tag>[debugging]}}+{{tag>debugging}}
v5/userguide/debug.1704794620.txt.gz · Last modified: by dregad