2008 07 19Imagine clickable error messages
It's easy if you try ! When Xcode is hinting at more functionality …
malloc: *** error for object 0x674ea0: incorrect checksum for freed object - object was probably modified after being freed. *** set a breakpoint in malloc_error_break to debug
It would be nice to click that message and have it set up what it says. There wouldn't even be a need to change error messages, just to update XCode's console view to a WebView. Then, before displaying the error, let it filter through some regexes that will catch these messages and hyperlink them to a script. Imagine clicking on that adress and having a memory dump, or clicking malloc_error_break
and going to its definition (or help), or clicking set a breakpoint
to have it set.
malloc_error_break
, anybody knows where it is ?
It's in libSystem, so you don't (readily) have the code for it. You can use the Breakpoints window to create a symbol breakpoint for it by hand, though.
The clickable thingy is genius. In fact, TextMate does that with many kinds of error messages, for example PHP errors, and it's supremely useful there.