| View previous topic :: View next topic |
| Author |
Message |
TipPro
Joined: 12 Feb 2009 Posts: 2 Location: Philadelphia, USA
|
Posted: Thu Feb 12, 2009 4:34 pm Post subject: Using Xdebug with NetBeans displays variables with no values |
|
|
I believe I have NetBeans and Xdebug configured correctly but I cannot get the debugger to show the value of each variable. Any ideas on how to get the values to show up? See image below.
My setup is as follows...
NetBeans IDE 6.5 (Build 200811100001)
-Run As: Local Web Site (running on local Web server)
Xampp version 1.7.0 (including patch 2)
-Apache 2.2.11
-PHP 5.2.8
Windows XP
My php.ini...
| Code: |
[Zend]
;zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\xampp\tmp"
xdebug.show_local_vars=On
|
My test code...
| Code: |
$firstColor = 'red';
$secondColor = 'blue';
$count = 0;
for($i=0; $i<5; $i++) $count++; //set break here for testing
echo "Test Complete: Count ($count)";
|
|
|
| Back to top |
|
 |
Robert Gonzalez Posted via mailing list.
|
Posted: Thu Feb 12, 2009 7:42 pm Post subject: Using Xdebug with NetBeans displays variables with no values |
|
|
I believe there has been talk about the recent update to the JDK (release 12 I believe) causing this. The most common answer has been to downgrade your JDK to release 11.
On Thu, Feb 12, 2009 at 8:34 AM, TipPro <address-removed ([email]address-removed[/email])> wrote:
| Quote: | I believe I have NetBeans and Xdebug configured correctly but I cannot get the debugger to show the value of each variable. Any ideas on how to get the values to show up? See image below.
[Image: http://i730.photobucket.com/albums/ww310/tippro/blank_variables.gif ]
My setup is as follows...
NetBeans IDE 6.5 (Build 200811100001)
-Run As: Local Web Site (running on local Web server)
Xampp version 1.7.0 (including patch 2)
-Apache 2.2.11
-PHP 5.2.8
Windows XP
My php.ini...
Code:
[Zend]
;zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="C:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\xampp\tmp"
xdebug.show_local_vars=On
My test code...
Code:
$firstColor = 'red';
$secondColor = 'blue';
$count = 0;
for($i=0; $i<5; $i++) $count++; //set break here for testing
echo "Test Complete: Count ($count)";
([email]address-removed[/email])
([email]address-removed[/email])
|
--
Robert A. Gonzalez
|
|
| Back to top |
|
 |
orglee
Joined: 12 Feb 2009 Posts: 2
|
Posted: Thu Feb 12, 2009 8:16 pm Post subject: |
|
|
Wow I just registered to ask about that. Its basically my 3rd time installing NetBeans but this time I would like to stick up with it. Could you be so kind and tell us, how to do downgrade like that without damaging anything. Or does it goes just like, remove newer and install older?
Regards.
|
|
| Back to top |
|
 |
radek matous Posted via mailing list.
|
|
| Back to top |
|
 |
lexlythius
Joined: 27 Feb 2009 Posts: 1
|
Posted: Fri Feb 27, 2009 5:54 pm Post subject: Visual problem it seems |
|
|
The problem actually seems to be that debugger view uses white font over white background.
If you select the value cell with your mouse you will be able to see values.
| Description: |
|
| Filesize: |
3.32 KB |
| Viewed: |
1855 Time(s) |

|
|
|
| Back to top |
|
 |
TipPro
Joined: 12 Feb 2009 Posts: 2 Location: Philadelphia, USA
|
Posted: Fri Feb 27, 2009 6:04 pm Post subject: |
|
|
I did not notice that before.
You can see the value when you click on the actual 'value' field. When you click off of the field the value disappears.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|