Topic: Small Feature Request - DeleteWatch
Hi Tobias,
Current Gurock.SmartInspect.dll Version: 2.3.0.6397
I have a small feature request - the ability to Delete a specific watch from the list of watches via code. I don't want to do a ClearWatches(), but rather something like the following to remove that specific watch from the list:
ClearWatch(Level.Debug, "varname");
ClearWatch("varname");
This would be very handy for a multi-threaded app I'm developing - as threads are created and destroyed, I could easily see different counters that relate to a specific thread in the watch window, and remove the counts for threads that are no longer active. Something like:
Thread 1 Bytes Processed = 100
Thread 2 Bytes Processed = 60
once "Thread 2" completes, it would remove the watch, like so:
Thread 1 Bytes Processed = 100
Make sense? Or is there a way to do this already?
Thanks, and keep up the good work!
Todd
