Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Define and display their value in the debugger environment
Define and display their value in the debugger environment [message #667432] Thu, 28 April 2011 17:44 Go to next message
Shaekir  is currently offline Shaekir
Messages: 2
Registered: April 2011
Junior Member
I can't see define('PS_Base',$path) when I debugged the web project.

I can see PS_Base in Outline, but I can't see it in variables area .

I don't know, How can I see the value of those variables that were created by define as PS_Base.

I am using xdebug with eclipse.

Thank you for your help and advise.
Re: Define and display their value in the debugger environment [message #667442 is a reply to message #667432] Thu, 28 April 2011 19:11 Go to previous message
Shaekir  is currently offline Shaekir
Messages: 2
Registered: April 2011
Junior Member
I found the answer on Eclipse forums, Thank you.

You cannot get them in the variable views as xdebug doesn't support this.
---------------------------------------------
This is the solution:
Only possible way would be to use a watch expression.
---------------------------------------------
The Xdebug guide should provide info on watch expressions. Try
highlighting a constant in your code, being up the context menu (Right
Mouse Button click
) and select watch expression. The constant should
appear in the watch expression view
. Rolling Eyes
[You can get it from : window-> show view -> Expressions].

I found the anwer on the
http://www.eclipse.org/forums/index.php?t=tree&th=162822 &#page_top

http://www.eclipse.org/forums/index.php?t=tree&th=162822 &#page_top

Thank you : Dave Kelsey & dkel50

[Updated on: Thu, 28 April 2011 19:20]

Report message to a moderator

Previous Topic:png files open in editor
Next Topic:User code folding
Goto Forum:
  


Current Time: Sun Sep 21 22:21:57 GMT 2014

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

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