Languages

Menu
Sites
Language
No console output from emulators on SDK 1.0.0b3

Hi

I wonder if I am the only one with this problem? Ever since I moved to the new wearables sdk, the emulators have stopped giving any output to the console. When I connect a physical device (Gear 2), I get all the logs on the console. However, no matter what emulator configuration I choose, there are no logs. I have tried recreating the project, using a new workspace, I even tried a fresh install from scratch on another workstation - and it's the same. Just a blank console.

Has anyone experienced the same problem? Any suggestions?

 

Cheers.

Responses

11 Replies
Alex Ashirov

Hi,

Sometimes this happens. You can try to create new log tab. Just select “Add Log Tab” item from the toolbar at the top of the log window. Then you will be able to select device or emulator which you want to use from the list of devices.

Maciej

Hi Alex,

Thank you for your answer. I saw your suggestions in earlier threads. However, this is not about the device logs. I can see them perfectly fine in the Log tab, as well as through sdb dlog. The problem is that the JavaScript Log Console is not working with any of the emulators. I cannot see my console.log, console.debug calls. It makes it impossible to debug my application.

It happens in every workspace, every project, every emulator. I installed the new SDK on my friends notebook and it's the same.

Is there any way to make the console.log calls appear on the device log?

Cheers

Marco Buettner

I have similar problems with older version of the Tizen SDK (not wearable).

1. Unplug device/close emulator

2. restart sdb (sdb kill-server)

3. restart SDK

4. Plug the device/start emulator

5. Start your application and wait (up to 15min)

Alex Ashirov

Hi,

You are right. I have just upgraded SDK to version 1.0.0b3 and the issue appears. There was no such issue with the previous releases.

Thank you for the workaround.

chakradhar Reddy Veeramreddy

Hi Maciej,

Did you find any solution to the issue? I am also facing the same problem. Nothing is displayed in the Javascript Console.

Maciej

I have just found a workaround. I am using console.debug calls and debug mode (the little bug icon) when launching my application. I had to install Chrome and set its path in the Preferences->TizenSDK->Web->Chrome. The logs now get shown in the console.

I am facing another problem, however. Scheduling alarms via tizen.alarm.add doesn't work on emulator. Any ideas?

Lee Nguyen

I am facing same problem. Alarm is not working in emulator.

 

chakradhar Reddy Veeramreddy

Woahhh !!

Was just about to post a new thread for the same question !! Same problem here. Alarms not working !!

 

PS : Thanks for the work around

Harry Hyeongseok Heo

Hi,

From the this version which you mentioned , console log (like console.log() , console.debug() , console.info() etc) would not show with 'Run As' menu.

Maciej is right .

If you'd like to see console log like before , you should execute application with 'Debug as' menu .

Also , Debugging web application needs Chrome browser due to remote inspector. If you already installed chrome browser before installing Tizen SDK , you would not need to set the Chrome path like Maciej wrote above.

 

 

Maciej

If this is an intended behavior, then it has some flaws. For example, when you want to test your application after it has been launched by the alarm scheduler, then you get no logs, because the debugger is detached.

Marco Buettner

Strange, I have no problems to see console messages in the consoleview of the IDE when I start my application with "Run As".