Xdebug 2.2.2: no call stack in browser

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Xdebug 2.2.2: no call stack in browser

Post by seandisanti » Fri Apr 12, 2013 11:58 am

view source on the page that you're expecting to see the stack. sometimes when an error is generated, it's done so within an html tag. So the stack and error info don't actually make it to the page, they're disregarded as a bad tag

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Xdebug 2.2.2: no call stack in browser

Post by seandisanti » Mon Apr 22, 2013 10:04 am

If it's a production server, meaning other people besides developers can interact with it, then you need to leave that setting to off, and then turn it on at the script level using error_reporting(). Just because attackers can use information from errors to target their attacks.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest