<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jingham@apple.com" title="Jim Ingham <jingham@apple.com>"> <span class="fn">Jim Ingham</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Breakpoint does not hit when evaluating a function call expression"
   href="http://llvm.org/bugs/show_bug.cgi?id=22315">bug 22315</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>jingham@apple.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Breakpoint does not hit when evaluating a function call expression"
   href="http://llvm.org/bugs/show_bug.cgi?id=22315#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Breakpoint does not hit when evaluating a function call expression"
   href="http://llvm.org/bugs/show_bug.cgi?id=22315">bug 22315</a>
              from <span class="vcard"><a class="email" href="mailto:jingham@apple.com" title="Jim Ingham <jingham@apple.com>"> <span class="fn">Jim Ingham</span></a>
</span></b>
        <pre>This is behaving as designed.  By default lldb's expression parser ignores
breakpoint hits when running the expression.  We did an informal survey and
most folks use function calling for the function call results, and didn't want
to stop just because that code happened to hit some breakpoint they had set.

If you want to stop at breakpoints in expressions, either use:

(lldb) expr -i 0 -- <EXPRESSION>

or if you always want to stop at breakpoints in expressions, do:

(lldb) settings set target.process.ignore-breakpoints-in-expressions 0

or change the "p" alias to be "expr -i 0 --"</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>