I don't get this at all. Xcode 3.1 on 10.5.5 (Intel iMac)

AppController.h

#import <Cocoa/Cocoa.h>

@interface AppController : NSObject
{

}
-(IBAction) foo:(id) sender;
@end

AppController.m

#import "AppController.h"

@implementation AppController

- (void)awakeFromNib
{
NSString *jo = @"hi";
NSLog(@"%@", jo);
}

- (IBAction) foo:(id)sender
{
NSLog(@"button clicked\n");
}

@end

(The action foo: is just so I'd have something to hook up in the xib file by putting an NSButton in the window.)

I don't get any crash.

On Aug 8, 2008, at 10:41 AM, TFS - Tobias Jordan wrote:

Hello,

I noticed a debugger problem today when executing the following code:

@implementation AppController
- (void)awakeFromNib
{
        NSString *jo = @"hi";
        NSLog(@"%@", jo);
}
@end

When debugging the code above the debugger crashes on: Cannot access memory at memory address 0x4.
Does someone know how to fix this problem?

Thanks for any help.

Best regards,
Tobias Jordan.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/wsquires% 40satx.rr.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to