NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Stop at current line when a var has changed


Joined: 15 Jun 2005
Posts: 46
Reply with quote
Is it possible with PHPED to let the debugger stop when a value of a given var changes somewhere in my scripts?
I don't know the value of the var.

The var could be ANY value which changes so the global debug will not work for this one because the global expression would be like ($var !== $var) (which doesn't work)

Because we have a lot of scripts, it's a hell finding out which script was responsible for a var change..........

Scub.
View user's profileFind all posts by ScubaticusSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
Because we have a lot of scripts, it's a hell finding out which script was responsible for a var change

so, it looks like most the time the variable value does not change. It is persistent and its value is known right after the variable is created but after some "unknown" actions/includes/calls it gets changed.
Why not to have a global breakpoint where you'll compare varibale with its original (known) value?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Stop at current line when a var has changed
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