• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 3.1 Debugger Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: How do I get those 1 pixel black lines into my app window?
  • Next by Date: NSImage and zooming PDFs vs. bitmaps
  • Previous by thread: Re: Control-dragging from menu item in MainMenu.nib to File's Owner object in MyDocument.nib
  • Next by thread: NSImage and zooming PDFs vs. bitmaps
  • Index(es):
    • Date
    • Thread