Reuse content of the tab 'watches'

Hello!

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


watches.jpg

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

Stephan

1 comment
Comment actions Permalink

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.

0

Please sign in to leave a comment.