php - Only seeing main in xDebug -


i'm debugging huge , messy php codebase.

the application misbehaves , redirects traffic login screen because seems unable start sessions.

i traced such scenario xdebug , see main, no branches @ all.

does mean uncaught exception unwinding stack completely?

if should case, there way call graph if happens?

main

the callgraph should show functions have been called, of course, if none have been called see "main()" (for example, if in main tried call undefined function). xdebug, can trace functions called through "function tracing", can enable setting "xdebug.auto_trace=1". file in /tmp ending in .xt lists function calls. can include more information can read @ http://www.xdebug.org/docs/execution_trace#collect_assignments

another way of tackling debugging using single-step debugging (also called, remote debugging) many ides support combined xdebug. see more information: http://www.xdebug.org/docs/remote


Comments