Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Object is represented by "0 key/value pairs", not memory address within LLVM

I've got simple class:

#import <Foundation/Foundation.h>

@interface FlurryDelegate : NSObject

@property(assign, atomic) BOOL isWelcomeScreenActionStarted;
@property(assign, atomic) BOOL isJamSessionScreenOpened;
@property(assign, atomic) BOOL isMetadataTransferStarted;

/*
  some instance and class methods
*/
@end

I would like in debugger value of this fields but when I make breakpoint I receive object but "0 key/value pairs". What can be a problem?

My code:

- (void)viewDidLoadAndJamSessionIsNotNil {
    flurryDelegate = [[FlurryDelegate alloc] init];
    [flurryDelegate logUser:self.api.userAccount openJamSession:self.jamSession action:@"New jam session was opened"]; //breakpoint here
/* some code */
}

Debugger: Screenshot from debuger

like image 854
pstrag Avatar asked Nov 06 '14 14:11

pstrag


1 Answers

I was having this exact same issue! I have a very simple class and it was like Xcode thought it was a dictionary.

Quitting Xcode and relaunching it fixed the issue for me.

like image 157
Robert Swilley Avatar answered Oct 11 '22 23:10

Robert Swilley