Skip to content
Permalink
Browse files

Fixed issue #1699: Crash during debugging Phalcon project

  • Loading branch information...
derickr committed Sep 17, 2019
1 parent c93b679 commit 1398534b9174c40d27f2379d6077429df1849584
Showing with 5 additions and 0 deletions.
  1. +5 −0 xdebug_var.c
@@ -2103,6 +2103,11 @@ void xdebug_var_export_xml_node(zval **struc, xdebug_str *name, xdebug_xml_node
xdebug_object_item *xoi_val;
zval *tmpz;

if (!*struc) {
xdebug_xml_add_attribute(node, "type", "uninitialized");
return;
}

if (Z_TYPE_P(*struc) == IS_INDIRECT) {
tmpz = ((*struc)->value.zv);
struc = &tmpz;

0 comments on commit 1398534

Please sign in to comment.
You can’t perform that action at this time.