-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Possibly a bug here.
When I am to display my object's info using Debugbar, its showing blank if the page has error. Means no data in case there's an error on page. See screenshots below:
My Code:
$str = "test string";
$obj = $CheckUrlExist;
\Debugbar::info($str); // This is a sting variable and it shows the string
\Debugbar::info($obj); // This an object. It won't show if there's any error
var_dump($obj); //var_dump is showing data for on the object, even with error. So there's no question of object being null
Pages where's there no error:
See, we have the string and the database model object.
Pages with errors on page is showing as:
See the yellow marked one is showing blank. And it is because of the error underlined in red.
var_dump() method output for object, even though there's error on page.
var_dump details marked.
It would be beneficial if we can use Debugbar instead of var_dump in case of errors too.
Thank you