View Issue Details

IDProjectCategoryView StatusLast Update
0000976XdebugUncategorizedpublic2013-10-14 00:43
Reporterpvasilevich Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.2.3 
Fixed in Version2.2.4 
Summary0000976: XDebug crashes if current varibles scope contains COM object
Description

If you are working with COM objects, for example with Excel, XDebug crashes trying to display content of such variable in debugger

Steps To Reproduce
  1. create sample script:
    <?php

$ex = new COM("Excel.Application", NULL, CP_UTF8);
$wb = $ex->Application->Workbooks->Add(); // <-- set breakpoint to this line in debugger.

  1. launch this script under debugger
Additional Information

Crash appeared in method xdebug_var_export_xml_node() when trying to access properties of COM object:

Z_OBJDEBUG_PP(struc, is_temp); returns NULL

TagsNo tags attached.
Operating System
PHP Version5.5-dev

Relationships

has duplicate 0000873 resolvedderick Crash viewing COM object properties in Eclipse PDT 
has duplicate 0001014 resolvedderick trying to create COM objects cause crash 

Activities

pvasilevich

2013-09-17 03:04

reporter   ~0002556

Added patch to fix this problem

derick

2013-09-28 12:44

administrator   ~0002559

Thanks for this! I've your patch in a branch - are you okay with me crediting this to "your name" <your email address>?

pvasilevich

2013-09-29 14:59

reporter   ~0002570

ok :)

derick

2013-10-14 00:43

administrator   ~0002583

Thanks again for the patch! It's merged now.