This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180499 - can't see local variables
Summary: can't see local variables
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 08:27 UTC by Filip Zamboj
Modified: 2010-02-09 09:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
case 1 (104.35 KB, text/x-log)
2010-02-09 08:27 UTC, Filip Zamboj
Details
case 2 (306.64 KB, application/octet-stream)
2010-02-09 08:28 UTC, Filip Zamboj
Details
case 3 (22.76 KB, text/x-log)
2010-02-09 08:28 UTC, Filip Zamboj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2010-02-09 08:27:43 UTC
Created attachment 94008 [details]
case 1 

once you step into a function while debugging you don't see any variables except Superglobals in variables view.

here are some cases I tested: 
case 1: 
Product Version: NetBeans IDE Dev (Build 2010-02-09_15-04-08 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
PHP 5.3.3-dev (cli) (built: Feb  8 2010 13:14:21) 
Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans

I cant see any local variables. Log attached #1. 

case 2: 
Product Version: NetBeans IDE Dev (Build 2010-02-08_15-04-07 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
PHP 5.3.3-dev (cli) (built: Feb  8 2010 13:14:21) 
Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans

the same as case 1. log #2  

case3:
Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
PHP 5.3.3-dev (cli) (built: Feb  8 2010 13:14:21) 
Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans

the same 


I'll add some tests with different xdebug versions later
Comment 1 Filip Zamboj 2010-02-09 08:28:14 UTC
Created attachment 94009 [details]
case 2
Comment 2 Filip Zamboj 2010-02-09 08:28:36 UTC
Created attachment 94010 [details]
case 3
Comment 3 Filip Zamboj 2010-02-09 09:11:49 UTC
it works in 
Product Version: NetBeans IDE Dev (Build 2010-02-08_15-04-07 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
with 
PHP 5.3.3-dev (cli) (built: Feb  8 2010 13:14:21) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.0beta3-dev, Copyright (c) 2002-2010, by Derick Rethans

and it works in 
Product Version: NetBeans IDE Dev (Build 2010-02-09_15-04-08 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
with 
PHP 5.3.3-dev (cli) (built: Feb  8 2010 13:14:21) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.0beta3-dev, Copyright (c) 2002-2010, by Derick Rethans


conclusion is that this is xdebug's bug and you should use Xdebug 2.1.0beta2 or checkout from svn to use with php5.3