X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fnative_client_sdk%2Fdoc_generated%2Fdevguide%2Fdevcycle%2Fdebugging.html;h=adc9710fedd68951416639d5bd61b185286ca96f;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=7de09062884e3659717ca548155ea44ae0dcde39;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/native_client_sdk/doc_generated/devguide/devcycle/debugging.html b/src/native_client_sdk/doc_generated/devguide/devcycle/debugging.html index 7de0906..adc9710 100644 --- a/src/native_client_sdk/doc_generated/devguide/devcycle/debugging.html +++ b/src/native_client_sdk/doc_generated/devguide/devcycle/debugging.html @@ -16,23 +16,24 @@ and measure your application’s performance.

  • Basic debugging

  • -
  • Debugging with other tools
  • +
  • Debugging with other tools
  • Diagnostic information

    @@ -89,9 +90,14 @@ void errormsg(const char* pMsg){ fprintf(stderr,"logerr: %s\n",pMsg); } +

    Using Chrome’s stdout and stderr Streams

    By default stdout and stderr will appear in Chrome’s stdout and stderr stream -but they can also be redirected as described below.

    -

    Redirecting output to log files

    +but they can also be redirected to log files. (See the next section.) On Mac and +Linux, launching Chrome from a terminal makes stderr and stdout appear in that +terminal. If you launch Chrome this way, be sure it doesn’t attach to an existing +instance. One simple way to do this is to pass a new directory to chrome as your +user data directory (chrome --user-data-dir=<newdir>).

    +

    Redirecting output to log files

    You can redirect stdout and stderr to output files by setting these environment variables: