<bdo id='TzRsv'></bdo><ul id='TzRsv'></ul>
<i id='TzRsv'><tr id='TzRsv'><dt id='TzRsv'><q id='TzRsv'><span id='TzRsv'><b id='TzRsv'><form id='TzRsv'><ins id='TzRsv'></ins><ul id='TzRsv'></ul><sub id='TzRsv'></sub></form><legend id='TzRsv'></legend><bdo id='TzRsv'><pre id='TzRsv'><center id='TzRsv'></center></pre></bdo></b><th id='TzRsv'></th></span></q></dt></tr></i><div id='TzRsv'><tfoot id='TzRsv'></tfoot><dl id='TzRsv'><fieldset id='TzRsv'></fieldset></dl></div>

<tfoot id='TzRsv'></tfoot><legend id='TzRsv'><style id='TzRsv'><dir id='TzRsv'><q id='TzRsv'></q></dir></style></legend>

    1. <small id='TzRsv'></small><noframes id='TzRsv'>

        如何开启 Cocos2D CCLOG Debug 模式?

        How to turn on Cocos2D CCLOG Debug mode?(如何开启 Cocos2D CCLOG Debug 模式?)
      1. <legend id='GL5yK'><style id='GL5yK'><dir id='GL5yK'><q id='GL5yK'></q></dir></style></legend>

        <small id='GL5yK'></small><noframes id='GL5yK'>

          1. <i id='GL5yK'><tr id='GL5yK'><dt id='GL5yK'><q id='GL5yK'><span id='GL5yK'><b id='GL5yK'><form id='GL5yK'><ins id='GL5yK'></ins><ul id='GL5yK'></ul><sub id='GL5yK'></sub></form><legend id='GL5yK'></legend><bdo id='GL5yK'><pre id='GL5yK'><center id='GL5yK'></center></pre></bdo></b><th id='GL5yK'></th></span></q></dt></tr></i><div id='GL5yK'><tfoot id='GL5yK'></tfoot><dl id='GL5yK'><fieldset id='GL5yK'></fieldset></dl></div>
              <tbody id='GL5yK'></tbody>

                <bdo id='GL5yK'></bdo><ul id='GL5yK'></ul>
                <tfoot id='GL5yK'></tfoot>

                  本文介绍了如何开启 Cocos2D CCLOG Debug 模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在网络上,我看到人们发布这样的内容:

                  Around the web I see people posting things like this:

                  2012-03-12 10:26:32.495 squirrels[330:707] cocos2d: OS version: 5.1 (0x05010000)
                  2012-03-12 10:26:32.498 squirrels[330:707] cocos2d: GL_VENDOR:   Imagination Technologies
                  2012-03-12 10:26:32.501 squirrels[330:707] cocos2d: GL_RENDERER: PowerVR SGX 543
                  2012-03-12 10:26:32.503 squirrels[330:707] cocos2d: GL_VERSION:  OpenGL ES 2.0 IMGSGX543-63.24
                  2012-03-12 10:26:32.505 squirrels[330:707] cocos2d: GL_MAX_TEXTURE_SIZE: 4096
                  2012-03-12 10:26:32.507 squirrels[330:707] cocos2d: GL_MAX_TEXTURE_UNITS: 8
                  2012-03-12 10:26:32.508 squirrels[330:707] cocos2d: GL_MAX_SAMPLES: 4
                  2012-03-12 10:26:32.510 squirrels[330:707] cocos2d: GL supports PVRTC: YES
                  2012-03-12 10:26:32.511 squirrels[330:707] cocos2d: GL supports BGRA8888 textures: YES
                  2012-03-12 10:26:32.513 squirrels[330:707] cocos2d: GL supports NPOT textures: YES
                  2012-03-12 10:26:32.515 squirrels[330:707] cocos2d: GL supports discard_framebuffer: YES
                  2012-03-12 10:26:32.516 squirrels[330:707] cocos2d: compiled with Profiling Support: NO
                  2012-03-12 10:26:32.519 squirrels[330:707] cocos2d: cocos2d v2.0.0-beta2
                  2012-03-12 10:26:32.522 squirrels[330:707] cocos2d: Using Director Type:CCDirectorDisplayLink
                  

                  但是,当我在调试模式下运行我的应用程序时,我没有得到这样的日志.有没有办法使用 Cocos2D 2.0 打开它?如果有,怎么做?

                  However I do not get logs like this when I run my app in debug mode. Is there a way to turn this on using Cocos2D 2.0? And if so, how?

                  谢谢!

                  推荐答案

                  将此语句添加到您的 PCH 文件中:

                  Add this statement to your PCH file:

                  #define COCOS2D_DEBUG 1

                  这应该设置首选项以打开它.

                  That should set the preference to turn it on.

                  这篇关于如何开启 Cocos2D CCLOG Debug 模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)
                  Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)
                  Resume game cocos2d(恢复游戏 cocos2d)
                  Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))
                  Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)
                  Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)

                    1. <i id='YH1su'><tr id='YH1su'><dt id='YH1su'><q id='YH1su'><span id='YH1su'><b id='YH1su'><form id='YH1su'><ins id='YH1su'></ins><ul id='YH1su'></ul><sub id='YH1su'></sub></form><legend id='YH1su'></legend><bdo id='YH1su'><pre id='YH1su'><center id='YH1su'></center></pre></bdo></b><th id='YH1su'></th></span></q></dt></tr></i><div id='YH1su'><tfoot id='YH1su'></tfoot><dl id='YH1su'><fieldset id='YH1su'></fieldset></dl></div>
                          <bdo id='YH1su'></bdo><ul id='YH1su'></ul>
                            <tbody id='YH1su'></tbody>
                          <tfoot id='YH1su'></tfoot>
                        • <small id='YH1su'></small><noframes id='YH1su'>

                            <legend id='YH1su'><style id='YH1su'><dir id='YH1su'><q id='YH1su'></q></dir></style></legend>