title: Can we configure breakpoints in visual studio such that a line of code(assume as a function call) executes during every break-point?
body: <p>I just want to know whether we can configure(preferably in form of c# code) the break-point in visual studio 2015, such that, whenever it encounters during the process execution it must execute a line of code(like, creating an object to class or calling a function of a static class and it only applicable to that process).</p>
  
  <p>I do know that on clicking on a break-point I can set the actions that it could be performed, but I do want to achieve it by code(either by communicating my requirement to debugger of visual studio or any other way) and same line must be executed by all breakpoints that i set in the current process.Thank-you in advance.</p>