Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

Watch window and monitoring changing arrays or types

$
0
0

I have very large arrays in my program that may or may not update on each line of the program. I would like to find out if there is a way to monitor which arrays are changing and which are not as I step through the program. Because these arrays have thousands of elements, I cannot open them individually in the watch window to see which have turned red since the last line. 

If I close them, however, and step through the code, I can't see which are changing and which are not (array name in watch window remains the same color and does not become red). 

It seems pretty stupid to have to open each array and inspect all the elements after I step through each line. Does anyone have an easier way to detect if, on the whole, the array has changed (defining"changed" as having 1 or more elements with a modified value since the last line), as I step through my code?

Thanks.


Viewing all articles
Browse latest Browse all 415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>