# Advanced PHP debugger

- Introduction
- Installing/Configuring
  - Requirements
  - Installation
  - Building on Win32
  - Runtime Configuration
  - Resource Types
- Predefined Constants
- Examples
  - How to use PHP-APD in your scripts
- APD Functions
  - apd_breakpoint — Stops the interpreter and waits on a CR from the socket
  - apd_callstack — Returns the current call stack as an array
  - apd_clunk — Throw a warning and a callstack
  - apd_continue — Restarts the interpreter
  - apd_croak — Throw an error, a callstack and then exit
  - apd_dump_function_table — Outputs the current function table
  - apd_dump_persistent_resources — Return all persistent resources as an array
  - apd_dump_regular_resources — Return all current regular resources as an array
  - apd_echo — Echo to the debugging socket
  - apd_get_active_symbols — Get an array of the current variables names in the local scope
  - apd_set_pprof_trace — Starts the session debugging
  - apd_set_session_trace_socket — Starts the remote session debugging
  - apd_set_session_trace — Starts the session debugging
  - apd_set_session — Changes or sets the current debugging level
  - override_function — Overrides built-in functions
  - rename_function — Renames orig_name to new_name in the global function table