Re: Problems attaching debugger
Re: Problems attaching debugger
- Subject: Re: Problems attaching debugger
- From: Jerry <email@hidden>
- Date: Tue, 22 Jul 2008 19:15:32 +0100
On 22 Jul 2008, at 08:45, j o a r wrote:
On Jul 22, 2008, at 9:33 AM, Jerry wrote:
Whenever my application crashes while being run in Xcode (OS X
10.5.4, Xcode 3.0), I get the "loading program into debugger"
message for a minute or so and then the program just exits without
anything being displayed in the debugger or any useful console
messages. This is most annoying. This works fine for other
projects, but not the one which I actually want to work on. Any
ideas?
This is the "automatically attach on crash" feature found in later
versions of Xcode. Like you, I find that this feature works fine
most of the time, but perhaps not always. When it doesn't work I
usually launch my executable in the debugger directly (Cmd+Y),
instead of relying on it to "attach on crash". This seems to work
for me as a workaround.
Yes, that works, but it's the unexpected thread-related crashes that
are the problem: you're demoing to the boss, inevitably you get a
crash and want to track it down, but you can;t get a stack trace and
can't repeat the bug. You even miss out on the "unexpectedly quit"
dialog and the chance of a stack trace from that.
If you can reliably reproduce a problem with the "attach on crash"
feature running the latest version of Xcode (3.1), you should file a
bug report with Apple:
I can reproduce it 100%, but it requires our enormous application and
its huge bag o' plugins, making it hard to file a report :-(
Jerry
_______________________________________________
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