[lldb-dev] [Bug 17942] New: Putting a breakpoint with an expression from history (e.g. b $3) does not work

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 15 06:42:29 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17942

            Bug ID: 17942
           Summary: Putting a breakpoint with an expression from history
                    (e.g. b $3) does not work
           Product: lldb
           Version: 3.2
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: christophe at taodyne.com
    Classification: Unclassified

The following session illustrates the issue (to reproduce, build xlr from
https://gitorious.org/xlr/xlr/commits/be2f08174b3a56a8673093f131945bb011350ddf,
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20131115/09144fe3/attachment.html>


More information about the lldb-dev mailing list