NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
resource variable inspect


Joined: 24 Feb 2005
Posts: 2
Reply with quote
Hi to all,

I have notice that resource type variable are not showed during debug session. (I've debug mysql connection and file open).

my box:

win 2k sp 4+
apache 2.0.52
mysql 4.1.10
php 4.3.10
gdb 2.11.32

ide:
phpeclipse 1.1.3
phpedit 1.0.4.82
(ddmitrie i'm evaluate phped with and is own gdb and it show resource variable in variable watch! Very Happy but is too expensive for me Sad )

I think no other resource type variable are displayed!

I've no time to see the source code Sad

my question:
Are the IDE (phpeclipse, phpedit) that fail to catch the resource type variable from DBG ?

thanks

Mauro C.
View user's profileFind all posts by incastrixSend private message


Joined: 24 Feb 2005
Posts: 2
Reply with quote
I miss to tell that if you echo the variable it show the resource id!

$cnn = 0;
// if you ispect variable after execute the next line $cnn is no showed!
$cnn = mysql_connect(.....);

....

// show the resource id in the output!
echo $cnn.'<br />';

...


Mauro C.
View user's profileFind all posts by incastrixSend private message
resource variable inspect
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 1  

  
  
 Reply to topic