NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[fixed] Value under cursor


Joined: 08 May 2016
Posts: 11
Reply with quote
When i put mouse'cursor on variable, i get a lot of unwanted informations.
Where can'i configure DBG to get only value of variable under cursor ?
Regards
View user's profileFind all posts by jali6694Send private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
I only see the variable value in the tooltip. If it is an object or array, then that value can contain a lot of information and sometimes it is too much Mad

Have you got an example of the extra information that is displayed?

If you go into the Immediate panel and enter the variable name, is what is displayed there the same as the tooltip?
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Tools->Settings->code insight/settings, "expression evaluation" in Tooltips group.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 May 2016
Posts: 11
Reply with quote
Uncheck Expression evaluation > no value at all ...when cursor on $a or $b

nothing in "immediate" windows
correct value in "Locals" windows
View user's profileFind all posts by jali6694Send private message


Joined: 08 May 2016
Posts: 11
Reply with quote
When i put $a in immediate windows i get :
$a
: array =
$_GET: array =
DBGSESSID: &string = "425093760735200002;d=1,p=0,c=1"
$_POST: array =
$_COOKIE: array =
DBGSESSID: string = "425093720880700001;d=1,p=0,c=1"
$_FILES: array =
$_SERVER: array =
HTTP_HOST: string = "localhost"
HTTP_USER_AGENT: string = "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0"
HTTP_ACCEPT: string = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE: string = "fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
HTTP_ACCEPT_ENCODING: string = "gzip, deflate"
HTTP_DNT: string = "1"
HTTP_COOKIE: string = "DBGSESSID=425093720880700001%3Bd%3D1%2Cp%3D0%2Cc%3D1"
HTTP_CONNECTION: string = "keep-alive"
PATH: string = "C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\Windows Live;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\Program Files (x86)\\EgisTec MyWinLocker\\x64;C:\\Program Files (x86)\\EgisTec MyWinLocker\\;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\Reynald\\AppData\\Local\\Smartbar\\Application\\;C:\\Program Files (x86)\\QuickTime\\QTSystem\\;;C:\\Program Files (x86)\\Smart Projects\\IsoBuster;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\doxygen\\bin;C:\\Program Files (x86)\\AMD\\ATI.ACE\\Core-Static;"
SystemRoot: string = "C:\\WINDOWS"
COMSPEC: string = "C:\\WINDOWS\\system32\\cmd.exe"
PATHEXT: string = ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
WINDIR: string = "C:\\WINDOWS"
SERVER_SIGNATURE: string = "<address>Apache/2.4.17 (Win64) PHP/5.6.16 Server at localhost Port 80</address>\n"
SERVER_SOFTWARE: string = "Apache/2.4.17 (Win64) PHP/5.6.16"
SERVER_NAME: string = "localhost"
SERVER_ADDR: string = "::1"
SERVER_PORT: string = "80"
REMOTE_ADDR: string = "localhost"
DOCUMENT_ROOT: string = "D:/www/wamp/www/"
REQUEST_SCHEME: string = "http"
CONTEXT_PREFIX: string = ""
CONTEXT_DOCUMENT_ROOT: string = "D:/www/wamp/www/"
SERVER_ADMIN: string = "admin@example.com"
SCRIPT_FILENAME: string = "D:/www/wamp/www/index.php"
REMOTE_PORT: string = "54910"
GATEWAY_INTERFACE: string = "CGI/1.1"
SERVER_PROTOCOL: string = "HTTP/1.1"
REQUEST_METHOD: string = "GET"
QUERY_STRING: string = "DBGSESSID=425093760735200002;d=1,p=0,c=1"
REQUEST_URI: string = "/index.php?DBGSESSID=425093760735200002;d=1,p=0,c=1"
SCRIPT_NAME: string = "/index.php"
PHP_SELF: string = "/index.php"
REQUEST_TIME_FLOAT: double = 1463641293.18
REQUEST_TIME: long = 1463641293
$_REQUEST: array =
DBGSESSID: &string = "425093760735200002;d=1,p=0,c=1"
$a: &long = 12
$b: &long = 12
$Me: bool = TRUE
View user's profileFind all posts by jali6694Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
remove all entries from Watches and re-check

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 May 2016
Posts: 11
Reply with quote
Watches are clean.
I close and reopen
Always unusable display
View user's profileFind all posts by jali6694Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
can you reproduce the problem with simple script like below?
Code:

<?php
  $a = "hello world";
  echo $a;
?>

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 May 2016
Posts: 11
Reply with quote
Same problem

http:///sudgolf.fr/temp/S2.png

I'll remove Phped and install last release on monday
View user's profileFind all posts by jali6694Send private message


Joined: 08 May 2016
Posts: 11
Reply with quote
Uninstall and reinstall latest release 7.022

<?php
$a = "hello world";
echo $a;
?>

Always same problem : full page of values
View user's profileFind all posts by jali6694Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Can you reproduce it with SRV local web server that is distributed with PhpED?
If not, please let me check your phpinfo() output -- I mean php 5.6 under Apache you configured on your local server.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 May 2016
Posts: 11
Reply with quote
Local server
http:///sudgolf.fr/temp/phpinfo().htm

Embeded distributed serveur
http://sudgolf.fr/temp/phpinfo(SRV).htm

Same problem with SRV distribution
View user's profileFind all posts by jali6694Send private message
[fixed] Value under cursor
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
All times are GMT - 5 Hours  
Page 1 of 2  

  
  
 Reply to topic