Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » [xdebug] Change value in "variables" pane get wrong result
[xdebug] Change value in "variables" pane get wrong result [message #1833812] Sat, 24 October 2020 14:22
Bruce Huang is currently offline Bruce HuangFriend
Messages: 1
Registered: October 2020
Junior Member
PDT version: 7.2.0
Eclipse version: 4.16.0

1. create following PHP code:
<?php
$a = 'a';
echo $a;

2. debug as PHP web page with xdebug and break at line 3 "echo $a;"
3. change the value of $a from a to b in "variables" pane, expecting strlen($a) is 1,
4. swtich to 'Expressions' pane add expression $a or "Revaluate Watch Expression", find the value of $a is "b", strlen($a) is 3.

index.php/fa/39140/0/

-------

I tried to report bug in this page:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDT

the page showed this message "Sorry, either the product PDT does not exist or you aren't authorized to enter a bug into it. "

any one can help?

[Updated on: Tue, 27 October 2020 09:43]

Report message to a moderator

Previous Topic:How to Debug with Eclipse and PDT, specifically how to use the Built-in Server
Next Topic:PDT 5.x Composer support
Goto Forum:
  


Current Time: Fri Oct 11 00:30:09 GMT 2024

Powered by FUDForum. Page generated in 0.03864 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top