NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Show value of defined constants in debugger
Veteran

Joined: 30 Nov 2006
Posts: 186
Reply with quote
When the mouse pointer is above a variable, the tool tip shows me the value of the variable.

But when the mouse point is above a constant defined with define('name','Value') then nothing is displayed.
And you can't see the defined constants in the variable section of the debugger as well.

It will be nice to be able to see the contents of the defined constants while debugging.
View user's profileFind all posts by hgrSend private message
Veteran

Joined: 26 Dec 2006
Posts: 253
Location: Phoenix, AZ
Reply with quote
Yes!
View user's profileFind all posts by bobwilliamsSend private messageVisit poster's website
Re: Show value of defined constants in debugger


Joined: 14 Jun 2007
Posts: 67
Reply with quote
hgr wrote:
When the mouse pointer is above a variable, the tool tip shows me the value of the variable.

But when the mouse point is above a constant defined with define('name','Value') then nothing is displayed.
And you can't see the defined constants in the variable section of the debugger as well.

It will be nice to be able to see the contents of the defined constants while debugging.

I've requested this before somewhere as well. Definitely a wanted feature!

The only way to do it currently is to add the constant as a watched item.
View user's profileFind all posts by CjungeSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
you may want to use Watch or Immediate windows to check contants.
Alternatively you can just put get_defined_constants() function call there and see them all.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Show value of defined constants in debugger
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