Reuse content of the tab 'watches'


At the moment I'm working with complex data structures.
To manage this data, I use the Tab 'watches'​​.


I have 2 problems with the tab 'watches'​​.

How can I change the content of 'watches' ​​to print?

How can I freeze the current contents of the tab 'watches'​​, and compare using a later version?

With best regards


1 comment

Hi there,

You cannot -- current debugging tools (functionality they can provide) were not made for such purposes (pretty rare case, if you ask me).

Right now I may only suggest to log such variables into an external file (using error_log() and print_r() for example) and then deal with those files in text editor/diff viewers.


Please sign in to leave a comment.