When I'm writing a program for the iPhone, what the apple environment does when something goes wrong (from "unrecognized selector" to anything else), the app crashes and at the console, I have this meaningless stack debug spew that looks like this:
2009-12-19 11:57:37.843 ModelsProg[394:207] Stack: (
30884955,
2431960329,
31266875,
30836342,
30688962,
10115,
2721311,
2759178,
2747272,
2729683,
2756789,
38981329,
30669696,
30665800,
2723433,
2760707,
9948,
9802
)
Honestly I can't think of a more useless way to try and help a developer track the bug. It doesn't even tell you what line the problem is from, unless [394:207] is some cryptic indication of where the bug happened.
How can I:
- Have the mac development environment tell me line number error and file occurred
- Suppress the meaningless stack chatter or change it to __actual function names__ as output, like Python's crashing bug output looks.