Re: Useless Debugger
Re: Useless Debugger
- Subject: Re: Useless Debugger
- From: Norio Ota <email@hidden>
- Date: Mon, 29 Nov 2004 23:13:10 +0900
Ian,
I tried making Console show the error message after the Debugger's
error, I couldn't make it at all.
By the way, do you know what cause the following error?
"Error from Debugger: Exception name:NSInvalidArgumentException,
reason:***[NSCFArray addObject]:attempt to insert nil"
GDB commands must be much better than Debugger, but it's bother to me
to type commands every time to check the value and continue, like:
(gdb) print myValue
(gdb) continue
I'd like to know other member variables when myValue is nil. And I'd
also like to type the other command than "continue". This is the list
for Xcode, not gdb. However if you give me any suggestions not only
about the cause of the Debugger error, but also about the easier way of
above commands, it would be very appreciated.
Thank you,
Norio Ota
On 2004/11/29, at 14:56, Ian Krieg wrote:
Norio,
I must admit that I am not an Apple employee. Anyway, what do you
mean by control buttons? Things like the "Stop" button and "Step"
button? Am I right in thinking that they're slow when you push them
on purpose, not just when you push them by mistake? What version of
XCode are you using? I haven't had this problem.
If for some reason you can't make it work, try using GDB from
Terminal. It's a little more awkward, but not too bad, once you
figure out the major commands. "bt" is backtrace, "n" is next, or
step over, "s" is step into, "finish" is step out of, "kill" quits,
"run" starts, "list" shows the code you are currently running, and you
can use "print <expression>" to extract all sorts of info. Type "help
break" while in GDB to find out how to set a breakpoint.
Ian
To Apple Xcode guys,
I feel much stress on debugging. I have to look at the spinning
cursor all the time when I press some control buttons on the window
by mistake. However who can debug without pressing any control
buttons? Even if I turn Enable Data Formatters off, Debugger does the
same behavior.
Is there any way to debug efficiently using UI?
I no longer want to spend my time to do something else while spinning
the cursor.
Thank you,
Norio Ota
_______________________________________________
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