Languages

Menu
Sites
Language
Cannot launch application with GDBClient - Tizen Studio Debugger Message

I am working on a Hybrid App (Web UI with Native Service) of API version 4.0 for my Gear S3 Frontier. After successful compilation of the App, In order to track the cause of application crash, when I launch it on emulator W-4.0-circle-x86-preview in debug mode, it gives an error message.

Error Message:

Cannot launch application with GDBClient.

Error in final launch sequence

Failed to execute MI command:

source G:\ComputerScience\AppDevelopment\MyApp\GalaxyWatchApp\MyApp\NativeService\Debug\.gdbcommand

Error message from debugger back end:

G:\ComputerScience\AppDevelopment\MyApp\GalaxyWatchApp\MyApp\NativeService\Debug\.gdbcommand:5: Error in sourced command file:\nG:ComputerScienceAppDevelopmentMyAppGalaxyWatchAppMyAppNativeServiceDebugMyAppservice: No such file or directory.
G:\ComputerScience\AppDevelopment\MyApp\GalaxyWatchApp\MyApp\NativeService\Debug\.gdbcommand:5: Error in sourced command file:\nG:ComputerScienceAppDevelopmentMyAppGalaxyWatchAppMyAppNativeServiceDebugMyAppservice: No such file or directory.

GDB Command File Contents:

set sysroot C:\Tizen\TizenStudio\tizen-studio\platforms\tizen-4.0\wearable\rootstraps\wearable-4.0-emulator.core
set debug-file-directory C:\Tizen\TizenStudio\tizen-studio\platforms\tizen-4.0\wearable\rootstraps\wearable-4.0-emulator.core\usr\lib\debug
set solib-search-path G:\ComputerScience\AppDevelopment\MyApp\GalaxyWatchApp\MyApp\NativeService\Debug
dir C:\Tizen\TizenStudio\tizen-studio\platforms\tizen-4.0\wearable\rootstraps\wearable-4.0-emulator.core\usr\src\debug
file "G:\ComputerScience\AppDevelopment\MyApp\GalaxyWatchApp\MyApp\NativeService\Debug\MyAppservice"
sharedlibrary

During the web search I found some of the GDBClient errors but couldn't find the solution to this one. I've also tried setting the path of GDB Debugger to i386-linux-gnueabi-gdb-7.8 and GDB Command File to the absolute path of .gdbcommand which should be run.

Edited by: Itban Saeed on 06 Oct, 2019