언어 설정

Menu
Sites
Language
Issue with full wearable hybrid app debug

I have an hybrid wearable application, the UI is a web app (HTML/JS/CSS) and the back is a Native app (C), they both are locally deployed in the same workspace. I've followeb the guide https://developer.tizen.org/community/tip-tech/how-package-tizen-hybrid-app and I've changed the Native Application from Mobile to Wearable. The 2 apps communicate via Message Port, so when the UI starts, also the Service starts. If I Run the project, it works!

 

If I debug the Native Service project alone, via right click -> Debug As -> Tizen Native Application, it works properly. However, when I try to debug the whole application starting from the UI, it fails. I do right click on UI project -> Debug As -> Tizen Web Application. Then, the web app debugger starts correctly, but the service-attach debugger raises this error:

 

Cannot launch application with GDBClient.
Error in final launch sequence
Failed to execute MI command:
-target-select extended-remote 127.0.0.1:26112
Error message from debugger back end:
Remote communication error.  Target disconnected.

 

I just want to debug the entire application end-to-end, so I expect that once the UI starts, the Service is launched, and the debugger stops on the breakpoint I've put in the main of the .c file within the Service App, exactly as it properly happens if I debug the Native application alone.

 

Could you kindly help me solve this error, please?

 

 

Thank you in advance!

Edited by: Maurizio Cardia on 04 1월, 2021