Re: Debugging with lldb causes crash, but not with gdb
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