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

手动添加 MLeaksFinder 不生效 #58

Closed
sdlbp opened this issue May 23, 2017 · 3 comments
Closed

手动添加 MLeaksFinder 不生效 #58

sdlbp opened this issue May 23, 2017 · 3 comments

Comments

@sdlbp
Copy link

sdlbp commented May 23, 2017

手动添加整个工程之后,在 UIViewController+MemoryLeak.m 的 + (void)load 方法里加断点,断点没有进入。

@sdlbp
Copy link
Author

sdlbp commented May 23, 2017

问题已经解决了。
原因是:#define _INTERNAL_MLF_ENABLED DEBUG 这种方式控制编译,如果个别项目在 build setting -> preprocessor macros 中设置了预编译宏,有可能出错。

@Zepo Zepo closed this as completed Sep 14, 2017
@zdrjson
Copy link

zdrjson commented Jan 4, 2018

I have the same issue as you, how to fix the problem?

@sdlbp
Copy link
Author

sdlbp commented Jan 4, 2018

@zdrjson 我是因为把 build setting -> preprocessor macros 里面的 DEBUG 删除了

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

3 participants