Watching Superglobals variables in debugger

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Watching Superglobals variables in debugger

Postby kkoba » August 11th, 2013, 2:43 am

I want to watch Superglobals variables as the page below indicating, for instance, $_SERVER variable.
http://www.php.net/manual/en/language.v ... lobals.php

When debugging I added "$_SERVER" into Watch window, but I can't see its value.
Is there a way to watch them?
kkoba
 
Posts: 25
Joined: June 22nd, 2013, 11:13 am

Re: Watching Superglobals variables in debugger

Postby Miloslav Beno » September 5th, 2013, 5:16 pm

Hi!

Global variables aren't supported for watch in current version. However they will be in the next update together with complex expressions. You can try it in preview version http://www.devsense.com/products/php-tools/download/preview

Thanks,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm

Re: Watching Superglobals variables in debugger

Postby kkoba » September 6th, 2013, 5:42 am

Thanks,
I tried to use a preview version (1.8.4564) and got able to watch superglobals variables.
Great!
kkoba
 
Posts: 25
Joined: June 22nd, 2013, 11:13 am

Re: Watching Superglobals variables in debugger

Postby Miloslav Beno » September 7th, 2013, 2:19 pm

Great! Thanks for info!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1252
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 15 guests

cron

User Control Panel

Login

Who is online

In total there are 15 users online :: 0 registered, 0 hidden and 15 guests (based on users active over the past 5 minutes)
Most users ever online was 511 on April 27th, 2024, 10:11 pm

Users browsing this forum: No registered users and 15 guests