title: Setting multiple breakpoint in Visual Studio 2012
body: <p>I would like to set breakpoint all <code>Convert.ToInt32</code> lines.</p>
  
  <p>I have tried to replace all <code>Convert.ToInt32</code> to <code>System.Diagnostics.Debugger.Break(); Convert.ToInt32</code> but it did not work because some of the <code>Convert.ToInt32</code> methods are parameter. So I wrote a regex replacement which insert the  <code>System.Diagnostics.Debugger.Break();</code> at the begining of the all Convert.ToInt32 lines. It seems working but is there any easy way of doing this?</p>
  
  <p>ps: I do not think "Debug -> New Breakpoint -> Break at Function" works with System methods.</p>
  
  <p><strong>Update:</strong>
  I have written a small code</p>
  
  <pre><code>class Program
  {
      private static void Main(string[] args)
      {
          int test = System.Convert.ToInt32("x");
  
          System.Console.Write(test);
      }
  }
  </code></pre>
  
  <p>I have changed my "Tools -> Options -> Debugging" settings<img src="https://i.stack.imgur.com/xtPhn.png" alt="Tools -&gt; Options -&gt; Debugging"></p>
  
  <p>But it is still <strong>not work</strong>ing <img src="https://i.stack.imgur.com/9caYb.png" alt="enter image description here"></p>