top

Debugging NaCl-enabled Projects

This topic describes how to debug Native Client modules within TV application projects.

Important

Due to NaCl deprecation by the Chromium project, Tizen TV will continue its support for NaCl only until 2021-year products. Meanwhile, Tizen TV will start focusing on high-performance, cross-browser WebAssembly from 2020-year products.

You can debug Native Client (NaCl) modules on the emulator or a Samsung TV, within the context of the Web application.

For information on debugging your application's Web components, see TV Simulator, TV Emulator, and TV Device.

Before testing the application on the emulator or a Samsung TV:

To debug a NaCl module in a TV application:

  1. In the "Project Explorer" view, right-click the TV application project and select "Debug As > NaCl Module in Tizen Web Application".

    Figure 1. NaCl module in Tizen Web Application

    Figure 1. NaCl module in Tizen Web Application

  2. If your TV application has multiple NaCl modules, select the module you want to debug.
    You can debug only 1 NaCl module at a time.

    Figure 2. Select NaCl module

    Figure 2. Select NaCl module

    The Tizen Studio switches to the "Debug" perspective and code execution is stopped at the entry point, if you have defined one.

    Figure 3. Tizen Studio debug perspective

    Figure 3. Tizen Studio debug perspective

You can also launch a NaCl module for debugging directly from its project. For more information, see Debugging NaCl Projects.