Skip to main content



      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 04:49 Go to next message
Eclipse UserFriend
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 16:14 Go to previous messageGo to next message
Eclipse UserFriend
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 17:00 Go to previous messageGo to next message
Eclipse UserFriend
Thank You
Re: Wish to watch where variable changes value in PHP [message #1713860 is a reply to message #1713541] Sat, 07 November 2015 04:24 Go to previous messageGo to next message
Eclipse UserFriend
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 05:38 Go to previous messageGo to next message
Eclipse UserFriend
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 05:39] by Moderator

Re: Wish to watch where variable changes value in PHP [message #1713864 is a reply to message #1713863] Sat, 07 November 2015 05:41 Go to previous messageGo to next message
Eclipse UserFriend
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 03:21 Go to previous message
Eclipse UserFriend
Dawid, thank You. Submitted as 483867
Previous Topic:Wordpress with Eclipse Mars
Next Topic:PHP-Pear + eclipse autocomplete?
Goto Forum:
  


Current Time: Sun Nov 09 14:15:09 EST 2025

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

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

Back to the top