Saving values during debugging to a file

Can I save values during debugging to a file.
Like I have array of 10000 bytes which I want to analyse later on.

More questions in this forum