| OLD | NEW |
| 1 .. _devcycle-debugging: | 1 .. _devcycle-debugging: |
| 2 | 2 |
| 3 ######### | 3 ######### |
| 4 Debugging | 4 Debugging |
| 5 ######### | 5 ######### |
| 6 | 6 |
| 7 This document describes tools and techniques you can use to debug, monitor, | 7 This document describes tools and techniques you can use to debug, monitor, |
| 8 and measure your application's performance. | 8 and measure your application's performance. |
| 9 | 9 |
| 10 .. contents:: Table Of Contents | 10 .. contents:: Table Of Contents |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 application process, so look for the rendering rate there. | 45 application process, so look for the rendering rate there. |
| 46 | 46 |
| 47 Controlling the level of Native Client error and warning messages | 47 Controlling the level of Native Client error and warning messages |
| 48 ----------------------------------------------------------------- | 48 ----------------------------------------------------------------- |
| 49 | 49 |
| 50 Native Client prints warning and error messages to stdout and stderr. You can | 50 Native Client prints warning and error messages to stdout and stderr. You can |
| 51 increase the amount of Native Client's diagnostic output by setting the | 51 increase the amount of Native Client's diagnostic output by setting the |
| 52 following `environment variables | 52 following `environment variables |
| 53 <http://en.wikipedia.org/wiki/Environment_variable>`_: | 53 <http://en.wikipedia.org/wiki/Environment_variable>`_: |
| 54 | 54 |
| 55 * NACL_DEBUG_ENABLE=1 | |
| 56 * PPAPI_BROWSER_DEBUG=1 | |
| 57 * NACL_PLUGIN_DEBUG=1 | 55 * NACL_PLUGIN_DEBUG=1 |
| 58 * NACL_PPAPI_PROXY_DEBUG=1 | |
| 59 * NACL_SRPC_DEBUG=[1-255] (use a higher number for more verbose debug output) | 56 * NACL_SRPC_DEBUG=[1-255] (use a higher number for more verbose debug output) |
| 60 * NACLVERBOSITY=[1-255] | 57 * NACLVERBOSITY=[1-255] |
| 61 | 58 |
| 62 Basic debugging | 59 Basic debugging |
| 63 =============== | 60 =============== |
| 64 | 61 |
| 65 Writing messages to the JavaScript console | 62 Writing messages to the JavaScript console |
| 66 ------------------------------------------ | 63 ------------------------------------------ |
| 67 | 64 |
| 68 You can send messages from your C/C++ code to JavaScript using the PostMessage | 65 You can send messages from your C/C++ code to JavaScript using the PostMessage |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 <http://www.chromium.org/nativeclient>`_ that describe how to do profiling on | 588 <http://www.chromium.org/nativeclient>`_ that describe how to do profiling on |
| 592 `64-bit Windows | 589 `64-bit Windows |
| 593 <https://sites.google.com/a/chromium.org/dev/nativeclient/how-tos/profiling-nacl
-apps-on-64-bit-windows>`_ | 590 <https://sites.google.com/a/chromium.org/dev/nativeclient/how-tos/profiling-nacl
-apps-on-64-bit-windows>`_ |
| 594 and `Linux | 591 and `Linux |
| 595 <http://www.chromium.org/nativeclient/how-tos/limited-profiling-with-oprofile-on
-x86-64>`_ | 592 <http://www.chromium.org/nativeclient/how-tos/limited-profiling-with-oprofile-on
-x86-64>`_ |
| 596 machines. | 593 machines. |
| 597 | 594 |
| 598 | 595 |
| 599 .. |menu-icon| image:: /images/menu-icon.png | 596 .. |menu-icon| image:: /images/menu-icon.png |
| 600 .. |puzzle| image:: /images/puzzle.png | 597 .. |puzzle| image:: /images/puzzle.png |
| OLD | NEW |