<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Putting a breakpoint with an expression from history (e.g. b $3) does not work"
   href="http://llvm.org/bugs/show_bug.cgi?id=17942">17942</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Putting a breakpoint with an expression from history (e.g. b $3) does not work
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christophe@taodyne.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The following session illustrates the issue (to reproduce, build xlr from
<a href="https://gitorious.org/xlr/xlr/commits/be2f08174b3a56a8673093f131945bb011350ddf">https://gitorious.org/xlr/xlr/commits/be2f08174b3a56a8673093f131945bb011350ddf</a>,
using LLVM 2.9)

Debugging MapFunctionInfo::Apply. This will trigger for example on code such
as:

writeln with "ABC", "DEF"


(lldb) p map
p map
(XL::map_fn) $7 = 0x000000010bf4cb80

// Error here is probably duplicate of #17941
(lldb) b map
b map
Breakpoint 2: 197 locations.

(lldb) br del 2
br del 2
1 breakpoints deleted; 0 breakpoint locations disabled.

// ISSUE HERE
(lldb)b $7
b $7
Breakpoint 3: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.</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>