Re: debugger wonkiness
Re: debugger wonkiness
- Subject: Re: debugger wonkiness
- From: Dave <email@hidden>
- Date: Thu, 03 May 2012 22:25:22 +0100
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!
Dave
_______________________________________________
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