Re: Xcode 3.1 Debugger Problems
Re: Xcode 3.1 Debugger Problems
- Subject: Re: Xcode 3.1 Debugger Problems
- From: William Squires <email@hidden>
- Date: Fri, 8 Aug 2008 11:09:28 -0500
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@hidden)
Help/Unsubscribe/Update your Subscription:
40satx.rr.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden