Debugging a Project

To debug an application:

  1. Run the emulator in Tools > Tizen > Run Emulator, or click Launch Tizen Emulator.

    Launch the emulator

    Wait for the emulator to launch.

    Emulator starting

    Emulator starting

    The Launch Tizen Emulator button changes to Emulator (tizen-3.0_mobile_x86_64_hd).

    Emulator button

  2. Start debugging.

    The debug functionalities are still in development.

    1. You can pause the code with a break point and see primitive values, such as an integer.

      Add a breakpoint using the F9 key.

      Breakpoint

    2. Click Debug Start in the Emulator (tizen-3.0_mobile_x86_64_hd) view.
      • Visual Studio builds the project if you have not built it or it needs building.
      • The Tizen package file (.tpk) must be installed after the build:

        Install the .tpk file

        • If no changes were made, the installation does not happen.
        • If you changed the connection with the device (emulator), the installation happens.
      • The code pauses at the break point.

        Pause the code

    3. Click Continue.

      Continue

      The application continues running on the emulator.

      Application running on the emulator

    4. Click Back on the emulator or Stop Debugging in Visual Studio to end the debugging process.

      Back button

      Stop debugging

      After the debugging is done, your application is available in the emulator and can be run again, as needed.

      Application running on the emulator