Languages

Menu
Sites
Language
Cannot Gear S WatchClock app use console.log output?

I'm developing watch_clock app ( has <tizen:category name="com.samsung.wmanager.WATCH_CLOCK"/> in config.xml )

 

In Gear2, I've well used console.log function for debugging my watch_clock app, under the both RUN and DEBUG modes.

For now, with Gear S, a normal app showed console.log output if I run it in DEBUG mode.

But I couldnt get any console.log output at all in Log windows, if the category of app is converted to WATCH_CLOCK.

 

So Id like to know whether the current Gear S doesnt show any console.log in watch_clock app, or  it's just from my some unknown problems.

 

Is there anyboy who uses console.log for debugging Gear S's watch_clock app?

 

 

Responses

5 Replies
AVSukhov

Hello,

You can use console.log with sdb dlog command.

F.e.

1. isntall you watch_clock app

2. Go to Setting and select you app

3. open cmd and type command: sdb dlog > log.txt

after this you can find your logs in line with: I/ConsoleMessage: ...

 

Marco Buettner

you can also use "sdb dlog ConsoleMessage:V" to filter only console messages

AVSukhov

Yes ofcourse.

For submitter: more info you can find: IDE -> Help Contents -> Getting Started with Tizen Wearable > Development Environment > Tizen SDK for Wearable > Smart Development Bridge -> Controlling Log Output

daniel kim

Hi,

In that case, I suggest you to debugging it as a normal application.

Once debugging is done, you can change it to clock widget.

daniel kim

Hi,

In that case, I suggest you to debugging it as a normal application.

Once debugging is done, you can change it to clock widget.