Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: native_client_sdk/src/doc/devguide/devcycle/debugging.rst

Issue 383523004: [NaCl SDK] docs: Remove references to obsolete debugging env vars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: undo middleware change Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/faq.html ('k') | native_client_sdk/src/doc/devguide/devcycle/dynamic-loading.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698