Research on avoiding thinking about things that trigger depression or anxiety
In Cognitive Behavioral Therapy, one way to break this cycle is to examine the intensity of the anxiety, or the propensity to think anxiety-inducing thoughts, in different locations, home, shopping, gym, library, movie. Breaking the cycle by limiting time spent in the anxiety-inducing location is beneficial because triggering depression might trigger more anxiety-inducing thoughts, which will add to the depression...etc.