No Objective-C Description Available - Why?

I really don’t know why in this particular project my debugger is extremely “disconnected”.

For example, I want to get information about an object:

(lldb) po [_model dictionaryValue]
[no Objective-C description available]

I wonder why this is so. This makes debugging extremely difficult, and it is only in this current project. I assume that at some point I did something with the settings. He's almost anyone po someObjectI try to check. However, variables in scope are displayed in the panel to the left of the debug console.

I am in Xcode 5, I have Cocoapods in my project, and this is the One Test Goal.

Any ideas or any way to fix this?

Update:

For clarity, part of the test case implementation:

@interface WWCGateModelTests : XCTestCase  
{  
    WWCGate *_model;  
}  
@end  

@implementation WWCGateModelTests  
- (void)setUp
{
    [super setUp];
    // Put setup code here; it will be run once, before each test case.

    _model = [WWCGate loadGateModelWithIdentifier: kGateName];  // defined, not nil
}

- (void)tearDown  
{  
    [super tearDown];  

    NSError *error = nil;
    [_model saveModelOrError:&error];

    // Breakpoint here.  po _model does not print the model.    
    // This has been possible with other projects...  po error will print  
    // nil to the console.  How is an ivar not in scope?
}
+4
3

( ). . NSDictionary, . - , . , (, , , - ) .

, :

- (NSString*)description
{
    return [NSString stringWithFormat:@"<%@: %p>", self.class, self];
}

.; -)

, . UPDATE 3 : http://horseshoe7.wordpress.com/2013/05/26/hands-on-with-the-mantle-model-framework/

0

, , , "Release". "Release" - , .

, , , Debug . Xcode (, "" "", "" ).

+3

, ? p intVariable .

description .

0

All Articles