开发者

Where has my debugging information gone? Xcode 3.2.3

Im trying out some iPhone scroll view tests, but when i load the view, the app just blows up.

I get no debugging information in Xcode, no EXC_BAD_ACCESS, no errors, just

[Session started at 2010-07-16 10:35:21 +0100.]

and

Debugging terminated in the bottom of the debugger window.

I have set Generate Debug Symbo开发者_如何学JAVAls in the target preferences to ENABLED, Debug Information Format is DWARF with dSYM.

How can i debug this problem with no errors?

This is the code, but im more concerned about where my debug info has gone

- (void)loadView {
UIScrollView *s = [[UIScrollView alloc] initWithFrame:[[self view] bounds]];

NSArray *a = [[NSBundle mainBundle] loadNibNamed:@"MyView" 
                                     owner:self options:nil];

UIView *v = [a objectAtIndex:0];

[s setContentSize:CGSizeMake(400,500)];
[s addSubview:v];
[[self view] addSubview:s];
}

Thanks


Use the "Debug" configuration of the project, and actually run with the debugger attached, i.e. CMD-Y or CMD-ALT-ENTER.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜