Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Wish to watch where variable changes value in PHP
icon3.gif  Wish to watch where variable changes value in PHP [message #1713309] Tue, 03 November 2015 09:49 Go to next message
Jan Mazanek is currently offline Jan MazanekFriend
Messages: 4
Registered: November 2015
Junior Member
I was pleased by existence of possibility to break/pause debugging wherever certain variable changes its value (as described at https://www.eclipse.org/forums/index.php/m/1297083/?srch=watchpoint#msg_1297083 )

But as far as i know, this is not available in Eclipse PDT. It would be really productivity boost, to be able to debug unknown project (like WordPress) by auto-beakpoint wherever certain variable is modified.

Please, is there any way how to debug this way? Could be? Will be?

Configuration:
* Eclipse for PHP Developers, Version: Mars Release (4.5.0), Build id: 0150621-1200
* Xdebug v2.2.3
* Kubuntu 14.04
* Apache/2.4.7
* Zend OPcache v7.0.3
* Lenovo notebook
Re: Wish to watch where variable changes value in PHP [message #1713539 is a reply to message #1713309] Wed, 04 November 2015 21:14 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
The PHP tools has its own dedicated forum. Moving this to there.
icon14.gif  Re: Wish to watch where variable changes value in PHP [message #1713541 is a reply to message #1713539] Wed, 04 November 2015 22:00 Go to previous messageGo to next message
Jan Mazanek is currently offline Jan MazanekFriend
Messages: 4
Registered: November 2015
Junior Member
Thank You
Re: Wish to watch where variable changes value in PHP [message #1713860 is a reply to message #1713541] Sat, 07 November 2015 09:24 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
See this: http://help.eclipse.org/mars/topic/org.eclipse.php.help/html/concepts/breakpoints.html

Re: Wish to watch where variable changes value in PHP [message #1713863 is a reply to message #1713860] Sat, 07 November 2015 10:38 Go to previous messageGo to next message
Jan Mazanek is currently offline Jan MazanekFriend
Messages: 4
Registered: November 2015
Junior Member
Dawid, conditional breakpoint is about not stopping breakpoint sometimes.

I am looking for functionality equal to placing breakpoints on every single line of all projects scripts and setting its condition to "variable $x changed its value".

See http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_add_watch.htm

[Updated on: Sat, 07 November 2015 10:39]

Report message to a moderator

Re: Wish to watch where variable changes value in PHP [message #1713864 is a reply to message #1713863] Sat, 07 November 2015 10:41 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
Ohh, sorry. I'm not sure if it's possible in xdebug/zend debugger.

Can you open enhancement request on PDT bugzilla? https://bugs.eclipse.org/bugs/enter_bug.cgi?product=PDT


Re: Wish to watch where variable changes value in PHP [message #1716781 is a reply to message #1713864] Tue, 08 December 2015 08:21 Go to previous message
Jan Mazanek is currently offline Jan MazanekFriend
Messages: 4
Registered: November 2015
Junior Member
Dawid, thank You. Submitted as 483867
Previous Topic:Wordpress with Eclipse Mars
Next Topic:PHP-Pear + eclipse autocomplete?
Goto Forum:
  


Current Time: Sat Oct 05 05:56:10 GMT 2024

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

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

Back to the top