debugging for samsung tizen

 
 

Connecting to the tizen

The easiest way to get traffic from Tizen is by using Chrome Inspector. To use this tool we first need to make sure our PC and Tizen are on the same network and then we connect our PC to the Tizen:

Open Command Prompt on your PC.

Find the IP address of your computer by typing in ipconfig.

Go to the apps page on your Tizen (for 2024 Tizens, we need to open the new Smarthub menu, move to the Apps tab, and go to Settings (bottom of the apps view)).

Hit 1 2 3 4 5 on your remote.

Enter the IP address of your PC into the dev mode popup on your Tizen and make sure dev mode is toggled ON.

Point to where your tizen-studio tools folder is located (ex. cd c:/tizen-studio/tools).

On your Tizen, hit the menu button -> General -> Network -> Network Status -> IP Settings -> Take note of the Tizen’s IP address.

Type in sdb connect (tizen ip address).

We can make sure we’re connected by typing in sdb devices (it should show the Tizen in the list).


command prompt

We still need to do a bit more in Command Prompt before we may see our app show up in chrome://inspect:

Type in sdb shell 0 setRWIAppId (appID).(app)

Type in sdb shell 0 was_execute (appID).(app)

Now your app should launch on the Tizen.

NOTE: We can find the app IDs were interested in by typing in: sdb -s (ip of tv) shell 0 applist


chrome inspector

We still might have to do one more thing in Chrome Inspect before we can see the app show up on the page with the Inspect link:

If you launch the app and see a popup with RWI mapping info, take note of the ports that appear.

On the chrome://inspect page, click on the Configure button.

Enter the IP address of the Tizen followed by the port listed on the RWI mapping info popup (ipaddress:port).

Click on Done.

You should soon see the app appear with an Inspect button on the chrome://inspect page.

Click on Inspect.

If we click on the Network tab, we can view all of the app traffic and just as before save the file as .har so that we can view it in Charles.