[LLVMdev] Apple Xcode, LLVM, and automatic (or permanent) breakpoints

Eli Friedman eli.friedman at gmail.com
Wed Nov 14 23:34:33 PST 2012


On Wed, Nov 14, 2012 at 11:18 PM, Jeffrey Walton <noloader at gmail.com> wrote:
> Hi All,
>
> Please forgive me if this is the wrong group. I did not see a
> llvm-user group (). The User Guide also lacked a topic
> (http://llvm.org/docs/userguides.html#userguides).
>
> I am an Xcode user. I want to set a breakpoint on malloc_error_break
> all the time (it makes no sense to re-run after setting the breakpoint
> on occasion). I want the breakpoint whenever the debugger starts, and
> for all projects (even projects that have not been created).
>
> Under GDB, I could probably do this via '.gdbinit.' It does not appear
> LLVM has the same as a search turned up no results (please correct me
> here).
>
> How can one set a permanent breakpoint on malloc_error_break under LLVM?

Take a look at http://lldb.llvm.org/ for LLDB documentation.  If you
have further questions, this isn't really the best place to ask; the
Xcode section of http://devforums.apple.com/ is generally best for
Xcode questions; you can also try the lldb-dev mailing list for
questions about lldb.

-Eli



More information about the llvm-dev mailing list