Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show{view,layer...} could not work, didi i miss something? #27

Closed
btxkenshin opened this issue Mar 11, 2014 · 7 comments
Closed

show{view,layer...} could not work, didi i miss something? #27

btxkenshin opened this issue Mar 11, 2014 · 7 comments

Comments

@btxkenshin
Copy link

Xcode 5.01

There are so many warnings/errors:
First UIGraphicsBeginImageContextWithOptions not defined
Then tens of thousands context 0x0

showview self.view
Error [IRForTarget]: Call to a symbol-only function 'memset' that is not present in the target
error: warning: function 'UIGraphicsBeginImageContextWithOptions' has internal linkage but is not defined
note: used here
error: The expression could not be prepared to run in the target
Mar 11 11:37:57 shin-de-iMac.local App58ForIphone[4817] <Error>: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
Mar 11 11:37:57 shin-de-iMac.local App58ForIphone[4817] <Error>: CGContextSaveGState: invalid context 0x0. This is a serious error. This application, or a library it uses, is using an invalid context  and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.
@kastiglione
Copy link
Contributor

Thanks @btxkenshin, we'll investigate.

Related #24.

@arigrant
Copy link
Contributor

This is a bug in LLDB that happens every once in a while. The only solution that I have found is to restart Xcode/LLDB and then the issue goes away. Can you confirm that?

@btxkenshin
Copy link
Author

@arigrant

What do you mean restart Xcode/LLDB?I tried restart Xcode many times, nothing happend.

@starFelix
Copy link

I also had trouble by using these commands.

error: instance method 'undoManager' has incompatible result types in different translation units ('id' vs. 'NSUndoManager *')
note: instance method 'undoManager' also declared here
error: 1 errors parsing expression

Can anyone help me?

@ignazioc
Copy link

Same issue

(lldb) po _sampleView
<UIView: 0x8c2c430; frame = (96 55; 129 260); autoresize = W+H; layer = <CALayer: 0x8c2ba10>>

(lldb) showview _sampleView
error: Execution was interrupted, reason: Attempted to dereference an invalid ObjC Object or send it an unrecognized selector.
The process has been returned to the state before expression evaluation.
(lldb) 

I cannot use any "gui" related command, like mask/umask border..

I'm using xCode 5.1.1 and lldb version

~$ lldb --version
lldb-310.2.37

@kastiglione
Copy link
Contributor

Hi @btxkenshin, @starFelix, @ignazioc, are the problems described here still occurring?

@kastiglione
Copy link
Contributor

Closing, but please do reopen if you're seeing any of these in Xcode 6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants