Re: serious problems in GDB / LLDB debugger
Re: serious problems in GDB / LLDB debugger
- Subject: Re: serious problems in GDB / LLDB debugger
- From: Quincey Morris <email@hidden>
- Date: Tue, 16 Aug 2011 14:49:41 -0700
On Aug 16, 2011, at 14:27 , J wrote: I'm having such serious problems with the debuggers in Xcode 4.1 on Lion that it's impairing production. With deadline looming, it is very frustrating to have our primary tool crash every other launch. The latest issue however really baffles me. Is there anyone who can explain the discrepancy between the left and right panes in the image linked to below ? the right pane - the printed output is the expected output. However, the variables view shows a completely different layout of the values in the matrix, which has a float m_v[16] member which is printed. the image is on
It's not a "completely different layout". It looks like the ivar display is actually starting at index 2 and perhaps displaying the 1st 2 floats of the next ivar for the last 2 indexes.
If you're getting this result in both lldb and gdb, I'd suspect that the debug information being generated for the class is wrong. Perhaps this is a structure alignment issue for the ivar layout, perhaps just a random bug. What compiler are you using? Clang 3? Can you try it with a different compiler?
|
_______________________________________________
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