언어 설정

Menu
Sites
Language
Debugging on device doesn't work

Hi,

 

Somebody tried to debug an application on device (Ref.Device PQ)?

I got error message like that:

Cannot launch application with GDBClient.
An unexpected exception occurred while connecting to the gdbserver.
Error creating session
Cannot run program "gdb": Launching failed
Cannot run program "gdb": Launching failed
Cannot run program "gdb": Launching failed

I got installed latest version of Tizen 2.2 image. All works perfect.

I have installed a new IDE and SDK 2.2 (not upgrade).

I guess I have to install a gdbserver?

Maybe there is problem with some settings in my project?

 

Regards

slaw

 

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

4 댓글
Alex Dem
Hi, I am able to debug Ref.device-PQ with 2.2.0 official firmware. I am using 2.2.0 official win32 Tizen SDK and I did not install gdb separately. Please check project->runAs -> run configuration(Should be set Debug) and project->properties->Tizen Settings (ARM Architecture). Similar issue was on old SDK for emulator but not for devices: https://developer.tizen.org/ru/forums/native-application-development/error-when-trying-debug-application-on-emulator-2.1. Alexey.
Slawek Kowalski
It seems like debugserver is launched but not connection is failed. On console I got: [Launching application with GDBServer...] $ /home/developer/sdk_tools/gdbserver/gdbserver --version; echo $?; GNU gdbserver (Linaro GDB) 7.5-2012.12-1 Copyright (C) 2012 Free Software Foundation, Inc. gdbserver is free software, covered by the GNU General Public License. This gdbserver was configured as "arm-linux-gnueabi" 0 $ C:\tizen-sdk\tools\sdb.exe -s 4df7105c6715cf00 launch -p 6EqQsDlPTX -e GlobalMessanger.exe -m debug -P 26102 -t Maybe port is blocked by anti-virus app.
Steve Wagner
I do not see those menu options, there is no 'runAs' under project; nor is there a 'Tizen Settings' under project->properties. I have confirmed I am using 2.2.0. Is there something I am missing? ' Thanks! Steve
youngsik yoon
Probably Alexey is talking about popup menu, please right-click on your project in project explorer then you can see "Run As" -> "Run Configurations". About "Tizen settings", you can see it through "Project" -> "Properties" -> "C/C++ Build" -> "Tizen Settings"