• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debugging with lldb causes crash, but not with gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging with lldb causes crash, but not with gdb


  • Subject: Re: Debugging with lldb causes crash, but not with gdb
  • From: Jim Ingham <email@hidden>
  • Date: Fri, 21 Oct 2011 15:48:38 -0700

Does it crash into Xcode, so that you can get a backtrace?  If so, then do:

(lldb) thread backtrace all

and put that in the bug.  Also, stop somewhere before the crash if you can, and do:

(lldb) log enable -f /tmp/lldb-log.txt step process expr

and then run your session.  When you crash, take that log file and the "thread backtrace" output, and file a bug report containing those.

Jim

On Oct 21, 2011, at 2:55 PM, Rick Mann wrote:

> I'm not sure how to write up this bug report. I can put a breakpoint in my code, and if it's triggered and then I continue, the app immediately crashes when debugged under lldb, but runs just fine under gdb.
>
> --
> Rick
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Debugging with lldb causes crash, but not with gdb
      • From: Rick Mann <email@hidden>
References: 
 >Debugging with lldb causes crash, but not with gdb (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Debugging with lldb causes crash, but not with gdb
  • Next by Date: Re: Debugging with lldb causes crash, but not with gdb
  • Previous by thread: Re: Debugging with lldb causes crash, but not with gdb
  • Next by thread: Re: Debugging with lldb causes crash, but not with gdb
  • Index(es):
    • Date
    • Thread