Languages

Menu
Sites
Language
WebProcess crashed when running a web application

On the mobile device the application caused /usr/bin/WebProcess crashed and a core file was created under /var/lib/corewatcher/processed. On the emulator the web application didn't start but no core file was created.

Is there a way to debug web app in Tizen IDE? From what I've read the tizen IDE supports debugging native application, but I'm not sure about the web app. Has anyone tried grunt-tizen https://npmjs.org/package/grunt-tizen? The web page says that it can debug applications on a Tizen devices.

Also is there a tool that can load  the core file simiar to using gdb to load a  dump file? If so maybe I can trace what happened before the process cored. Right now there is no useful information to know what happened.

Any help will be appreciated.

Cheers!

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

7 Replies
Lakshmi Grandhi
Hi, You can debug even web applications on Emulator, In IDE select the project and use "Debug As" option
chi ding
I've followed your suggestion and tried to run it on emulator : first I imported the wgt file in IDE, but then got an error while starting the application. Here is the error info " Installing the package failed. org.tizen.sdblib.exception.ShellCommandUnresponsiveException" From the log, the last command was /usr/bin/pkgcmd -i -q -t wgt -p "/opt/usr/apps/tmp/FuzzBookmarkAPI.wgt" Then I tried to run the command manually under SDB shell. It didn't return, just hang there. The same wgt file caused the WebProcess cored on the Tizen mobile device. Any suggestions? Thanks a lot, Chi
Lakshmi Grandhi
Can you restart your emulator and ide and check, sometimes emulator hangs while debugging, there is some time out error trigger if it can't launch
chi ding
I restarted the emulator and Tizen IDE after rebooted the machine but got the same error. After that I tried to start another wgt file on the emulator and it worked correctly, no time out error. Any suggestion on where to debug the issue? Thanks, Chi
chi ding
After I changed the connection timeout from 30 seconds to 120 seconds in the connection manager of Tizen IDE, and set the privilege of the widget as launch application (only) in the IDE, now I'm able to install and run the application on the emulator. Thanks, Chi
Shital Bombarde
From where to change the connection timeout??? I'm not able to find any option in connection explorer to change timeout
Lakshmi Grandhi
You can find option under TizenIDE->Preferences->TizenSDK->Tools->ConnectionExplorer