Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Adding generic logs is in progress

Table of Contents

Pre-requisite :

TV and Laptop should be in the same network and VBN build 


Steps : 

  1.  In chrome browser on laptop type http://<TV IP>:10002/ then you will see below
  2. Click on Inspect button, after that it will open one more window where we can check network trafic log , console logs from app,


Info
titleTip
Resident app will be available on port 10000


Problem

To analyze the logs from the third party applicationwebpage which loaded in the web browser instance, we need to invoke Web inspector Inspector. Following are the steps to do the same.

Solution

  1. Add following lines in SetEnv.sh
    1. export RFC_ENABLE_WEBKIT_INSPECTOR=true                                                                                                                                                                                                                                                      export WEBKIT_INSPECTOR_SERVER=${WEBKIT_INSPECTOR_SERVER:-':::9224'}

       2. Add libWPEWebInspectorResources.so to the STB

i. Copy and untar the attached data.tar into /media/apps/web-inspector-plugin/ - after un-taring it you will see usr\lib\wpe-webkit-0.1\libWPEWebInspectorResources.s                                              

           ii. Replace the extracted library              

         3. Restart the receiver process 

               i. sytemctl restart <Operator UI App>               

        4.  Execute the below command  

                i. iptables -i INPUT -j ACCEPT  

                ii. fling the application through IBIS 

       5.  Invoke Web inspector as below   

                 http://<Device-IP>:9224/

:

Turn on any browser application(Eg, Webkit browser, HTMLApp, etc)

Insert the webpage/app into the launched app

Once it's launched, invoke the web inspector page. Generally it will be in URL format of http://<Box_Ip>:9224(here 9224 is port number for WebKit browser)

Inspector page we could able to see the logs of the launched webpage/apps. View filenamedata.tarheight250