Languages

Menu
Sites
Language
Does not stop at breakpoints, for the watch face

Hello,

 

I am developing a watch face, and I have a problem.

 

I want to debug my face, but the IDE did not stop at any breakpoints.

 

Is there any setting in order to debug the watch face?

 

Please let me know.

 

Thank you.

 

Responses

1 Replies
woochan lee

Hello.

Yea. it's true we can't get in debug mode.

Only watch face application can't supported debug mode in SDK i think.

Anyway i will tell you how to get a log print in runtime. i hope it's helpful on your debugging...

 

1. Add below code.

dlog_print(DLOG_ERROR, LOG_TAG, "LOG HERE!! ");

2. Run application.

3. chage the bottom tab to log. (Problems | Tasks | Console | Log | CallStack)

4. grep! tag name(LOG_TAG)

I don't know other proper way for debug watch face application. Using GDB? it too much. i think.

May other guy gives nice tip to you. :)