语言

Menu
Sites
Language
GDB fails to launch

Platform: Mac OS X 10.9
Scenario: Debug As -> Tizen Native Application

Both of Emulator and Device targets produce same result: "Cannot launch application with GDBClient. An unexpected exception occurred while connecting to the gdbserver." Is it a known issue on OS X?
Could anybody suggest any possible solutions?

编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

3 回复
Alex Ashirov

Hi,

What SDK version do you use? Does the issue happen only with your own project or it happens with all projects including samples?

Konstantin Yurichev

Hi, Alex!
I am using Tizen SDK 2.2.1.
Sample projects are ok. Seems it happens with my project only. Here's full console log:
 

Reading symbols from /<PATH_TO_MY_PROJECT>/Debug/<PROJ_NAME>.exe...cp-name-parser.y:220: internal-error: make_operator: Assertion `i' failed.

A problem internal to GDB has been detected,

further debugging may prove unreliable.

Quit this debugging session? (y or n) [answered Y; input not from terminal]

cp-name-parser.y:220: internal-error: make_operator: Assertion `i' failed.

A problem internal to GDB has been detected,

further debugging may prove unreliable.

Create a core file of GDB? (y or n) [answered Y; input not from terminal]

 

Alex Ashirov

Hi Konstantin,

It seems your application crashes. It's difficult to say what exactly happens, but you can check the following general rules:

http://tekhoow.blogspot.ru/2013/09/tizen-debugging-good-practice.html