Re: debugger wonkiness
Re: debugger wonkiness
- Subject: Re: debugger wonkiness
- From: Laurent Daudelin <email@hidden>
- Date: Thu, 03 May 2012 15:07:36 -0700
On May 3, 2012, at 14:25, Dave wrote:
>
> On 3 May 2012, at 02:40, Don Quixote de la Manvha wrote:
>
>> I've seen this happen too, but I'm pretty sure it was with GDB and not lldb. I'm not dead certain as it has been a while, but if we are experiencing the same bug then it's in Xcode and not either of the debuggers.
>>
>> Please file a report at http://bugreport.apple.com/
>>
>> At the same time make a tarball of your whole project. You want to be sure you can get back to the code that stimulated the bug.
>>
>> If at all possible make a minimal test case and attach it to the bug. That may not be possible for valid reasons. If you cannot make a test case, say so in your report.
>>
>> Coders always want test cases but sometimes we can't get them. Next best is lots of reports from lots of people. Maybe one fan elicit the common thread.
>>
>> This isn't going to fix your problem anytime soon. To debug when the debugger won't work, use NSLog, printf, NSAssert, assert, Design by Contract, Class Invariants, and in-memory circular log buffers that dump there contents when doing so won't be disruptive.
>>
>> I successfully wrote an AES hard drive encryptor in assembly code for an ARM embedded target for which my only "debugger" was a bank of eight LEDs that I could toggle on or off by setting bits in a byte at a certain fixed address. That's It.
>>
>> If I can do that, you can debug your app without a source debugger.
>>
>
> Well sure you *can* debug anything like that if you put your mind to it. I once debugged an embedded micro-controller using only an oscilloscope and the only way to re-program it was to burn a new eprom, but it took a lot of time, The fact is we used to have a debugger that worked fine, now in XCode 4 we don't, but we do have bouncing Windows in Mac OS X so we can watch the non-working debugger bounce about and not stop when it should! Now that's what I call progress! Outstanding!
Not that I'm complaining about the noise, but posting here will not do any good, unfortunately. From what I've seen, only some good and dedicated peons engineers at Apple monitor this discussion list because they care. I would wager that their brass doesn't. They're in their little ivory tower, overlooking their realm and patting themselves on the back for a job well done and counting how much money they're going to pocket when those shares have finally vested...
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software 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