Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT + XDEBUG + EASYPHP(See the variables of the function)
PDT + XDEBUG + EASYPHP [message #504600] Mon, 21 December 2009 12:45 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: December 2009
Junior Member
This is my first post Embarrassed
I installed Eclipse PDT, Xdebug, and as a server EasyPHP. Everything works and I can (a little) Sad to use xdebug,
and I write to ask about help, I think, configuring xdebug.
In the code below:

<?php
function somma($a,$b,$c)
{
  $risultato = $a+$b+$c;
  return $risultato;
}
$x = 1;
$y=2;
$z=3;
echo $x." ".$y." ".$z ."<br />";
echo somma($x,$y,$z);
?>

I can only see( In the windows variable) the value of variables $x,$y,$z but not value of variable $a,$b,$c.
For variable $a,$b,$c PDT in the windows write <uninitialized>
What can I do?
Thanks in advance
Re: PDT + XDEBUG + EASYPHP [message #504655 is a reply to message #504600] Mon, 21 December 2009 22:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

If you set a breakpoint on the return $risultato line and then execute
so that it breaks on that line do you get the values of $a, $b, $c ?

Dave Kelsey


On 21/12/09 12:45, MaxMax wrote:
> This is my first post :blush: I installed Eclipse PDT, Xdebug, and as a
> server EasyPHP. Everything works and I can (a little) :( to use xdebug,
> and I write to ask about help, I think, configuring xdebug.
> In the code below:
>
>
> <?php
> function somma($a,$b,$c)
> {
> $risultato = $a+$b+$c;
> return $risultato;
> }
> $x = 1;
> $y=2;
> $z=3;
> echo $x." ".$y." ".$z ."<br />";
> echo somma($x,$y,$z);
> ?>
>
> I can only see( In the windows variable) the value of variables $x,$y,$z
> but not value of variable $a,$b,$c.
> For variable $a,$b,$c PDT in the windows write <uninitialized>
> What can I do? Thanks in advance
Re: PDT + XDEBUG + EASYPHP [message #504709 is a reply to message #504655] Tue, 22 December 2009 09:55 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: December 2009
Junior Member
Eclipse User wrote on Mon, 21 December 2009 17:23
Originally posted by: dkel50.hotremovemail.com

If you set a breakpoint on the return $risultato line and then execute
so that it breaks on that line do you get the values of $a, $b, $c ?

Dave Kelsey



Not even in this way I can see the values Sad
Re: PDT + XDEBUG + EASYPHP [message #504746 is a reply to message #504709] Tue, 22 December 2009 07:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

what version of xdebug are you using in easyphp ? It sounds like an
issue with xdebug on the server side. You could get a log of what is
going on from xdebug, see

http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pd f

for details.

Dave Kelsey



On 22/12/09 09:55, MaxMax wrote:
> Eclipse User wrote on Mon, 21 December 2009 17:23
>> Originally posted by: dkel50.hotremovemail.com
>>
>> If you set a breakpoint on the return $risultato line and then execute
>> so that it breaks on that line do you get the values of $a, $b, $c ?
>>
>> Dave Kelsey
>
>
> Not even in this way I can see the values :(
Re: PDT + XDEBUG + EASYPHP [message #504799 is a reply to message #504746] Tue, 22 December 2009 17:50 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: December 2009
Junior Member
Thanks
I'll look the link you mention me and then I'll let you know.
Bye
Re: PDT + XDEBUG + EASYPHP [message #505068 is a reply to message #504799] Sat, 26 December 2009 09:07 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
This bug is being reported as
0000467: In included files all variables remain <Uninitialized> - Mantis
http://bugs.xdebug.org/view.php?id=467

and 'resolved' module is in svn still...
Previous Topic:PHP v/s Java code formatter
Next Topic:Stop indentation on nested folder view - remote systems
Goto Forum:
  


Current Time: Fri Apr 26 18:14:11 GMT 2024

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

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

Back to the top