Languages

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?

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

Responses

3 Replies
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