Xcode 2.1 breakpoint feedback
Xcode 2.1 breakpoint feedback
- Subject: Xcode 2.1 breakpoint feedback
- From: Kent Karlsson <email@hidden>
- Date: Tue, 7 Jun 2005 18:56:13 -0700
The new breakpoint features in Xcode 2.1 is great, there are some
things I think can be improved a lot on.
1. Using Log/Debugger command for printf-debugging
I wanted to use them as a way to add some printf's without having to
recompile the code (Yay!), but I found that the Log Command wasn't
able to print values of variables and the Debugger Command in
combination with printf is a bit awkward to use with Obj-C. To use an
example:
NSLog(@"[Import: %@]", anObject)
printf \"[Import: %s]\n\", (char*)[[anObject debugDescription]
UTF8String]
This makes it possible, but its not as simple as it could be IMHO.
That I had to escape the "'s gave me some headache to find out, since
I only got a message in the gdb console that there was something
wrong with a command xcode sent.
2. Breakpoint groups
It would be great with a checkbox next to the group just to make it
even easier to enable/disable the breakpoints and also get clear
visual feedback if they are enabled or not.
3. Import/Export of breakpoints
Good Idea, but its only halfway. It would be a much more powerful
tool if it would be possible to use something similar to the xcconfig-
file where we can easily commit a set of breakpoints, with actions,
to the repository and when someone edit the sourcecode-file (which
means the breakpoints are moved) or change an action, the changes can
be committed and automatically updated over the entire workgroup.
This would be very useful to have a set of breakpoints that gives
specific information about some part of the application, and having a
extremly powerful way of selecting what kind of information I want to
see about the execution and not having to recompile and restart the
debugging session.
Does anyone have additional input or comments?
-- kent
_______________________________________________
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