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

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

Issue 403073003: [NaClSDK] Docs: Fix another manifest "typo" w/ portable dict. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « native_client_sdk/doc_generated/devguide/devcycle/debugging.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 debugging (this is more of a problem with the PNaCl/LLVM toolchain than 238 debugging (this is more of a problem with the PNaCl/LLVM toolchain than
239 with GCC). 239 with GCC).
240 240
241 Once you have built a non-stable debug copy of the pexe, list the URL of 241 Once you have built a non-stable debug copy of the pexe, list the URL of
242 that copy in your application's manifest file: 242 that copy in your application's manifest file:
243 243
244 .. naclcode:: 244 .. naclcode::
245 245
246 { 246 {
247 "program": { 247 "program": {
248 "pnacl-translate": { 248 "portable": {
249 "url": "release_version.pexe", 249 "pnacl-translate": {
250 "optlevel": 2 250 "url": "release_version.pexe",
251 }, 251 "optlevel": 2
252 "pnacl-debug": { 252 },
253 "url": "debug_version.bc", 253 "pnacl-debug": {
254 "optlevel": 0 254 "url": "debug_version.bc",
255 "optlevel": 0
256 }
255 } 257 }
256 } 258 }
257 } 259 }
258 260
259 Copy the ``debug_version.bc`` and ``nmf`` files to the location that 261 Copy the ``debug_version.bc`` and ``nmf`` files to the location that
260 your local web server serves files from. 262 your local web server serves files from.
261 263
262 When you run Chrome with ``--enable-nacl-debug``, Chrome will translate 264 When you run Chrome with ``--enable-nacl-debug``, Chrome will translate
263 and run the ``debug_version.bc`` instead of ``release_version.pexe``. 265 and run the ``debug_version.bc`` instead of ``release_version.pexe``.
264 Once the debug version is loaded, you are ready to :ref:`run nacl-gdb 266 Once the debug version is loaded, you are ready to :ref:`run nacl-gdb
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 <http://www.chromium.org/nativeclient>`_ that describe how to do profiling on 590 <http://www.chromium.org/nativeclient>`_ that describe how to do profiling on
589 `64-bit Windows 591 `64-bit Windows
590 <https://sites.google.com/a/chromium.org/dev/nativeclient/how-tos/profiling-nacl -apps-on-64-bit-windows>`_ 592 <https://sites.google.com/a/chromium.org/dev/nativeclient/how-tos/profiling-nacl -apps-on-64-bit-windows>`_
591 and `Linux 593 and `Linux
592 <http://www.chromium.org/nativeclient/how-tos/limited-profiling-with-oprofile-on -x86-64>`_ 594 <http://www.chromium.org/nativeclient/how-tos/limited-profiling-with-oprofile-on -x86-64>`_
593 machines. 595 machines.
594 596
595 597
596 .. |menu-icon| image:: /images/menu-icon.png 598 .. |menu-icon| image:: /images/menu-icon.png
597 .. |puzzle| image:: /images/puzzle.png 599 .. |puzzle| image:: /images/puzzle.png
OLDNEW
« no previous file with comments | « native_client_sdk/doc_generated/devguide/devcycle/debugging.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698