How can I trace a variable at runtime in C#?
        Posted  
        
            by luvieere
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by luvieere
        
        
        
        Published on 2010-05-26T10:47:34Z
        Indexed on 
            2010/05/26
            10:51 UTC
        
        
        Read the original article
        Hit count: 423
        
How can I track a variable's values as they change, at runtime, in C#? I'm interested in the same functionality that the debugger provides when I'm tracing a variable through execution steps, only that I need to call upon it from my code. Some sort of key-value observing, but for all kinds of variables(local, class, static, etc), not only properties. So, basically, receive a notification when a variable's value changes.
© Stack Overflow or respective owner