Skip to content

Debugbar showing but my object information not showing anything #1379

@info-emastersindia

Description

@info-emastersindia

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:
image
See, we have the string and the database model object.

Pages with errors on page is showing as:
image
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.
image
var_dump details marked.

It would be beneficial if we can use Debugbar instead of var_dump in case of errors too.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions