语言

Menu
Sites
Language
Error when trying to debug application on emulator 2.1!

Hello,

I encounter a problem when trying to launch a debug session on emulator (openGL sample), I got this error:

Cannot launch application with GDBClient.
​An unexpected exception occurred while connecting to the gdbserver.
Can not set Baud
No symbol "invalid" in current context.
No symbol "invalid" in current context.
No symbol "invalid" in current context.
 
The application was installed and run correctly!!
I never got these error on previous SDK version.
 
Thanks in advance.
Salah
编辑者为: Brock Boland 17 3月, 2014 原因: Paragraph tags added automatically from tizen_format_fix module.

响应

12 回复
Salaheddine Essediki
Hello again, the samples works fine now. I moved to my own app from an empty project, I run the application with no problem. But when I want to debug the application I get this message: Cannot launch application with GDBClient. An unexpected exception occurred while connecting to the gdbserver. Error creating session java.lang.NullPointerException java.lang.NullPointerException Any idea please!
Dobrowolski
I have the same on Windows 7 x64: Cannot launch application with GDBClient. An unexpected exception occurred while connecting to the gdbserver. Error creating session java.lang.NullPointerException java.lang.NullPointerException
Maciej Różański
I also have the same problem, but only with one app. The rest works fine, so I assume it's problem connected with some specific setting in app.
Pushpa G
Hi, I heard that gdb server/client package is removed from platform binary. you can download gdb package from RSA or Public server and install it manually: http://download.tizen.org/releases/2.0/latest/
Dobrowolski
I tried make new project and I have the same result. Puspha G. could you explain more clearly me how to install gdb package? Thanks in advance.
MooChang Kim
hi.. I'm tizen gdb engineer and I'll follow up this issue from now.. in my expeirence.. this issue happens when app project config mismatchs with IDE information. usally because app project was generated old version of IDE and this project is imported to new version of IDE. and this can be solved by using new configuration.. but you mentioned you used empty project.. so this may not the case.. so I need more information to find out the cause.. could you share your app project config files that ".cproject", ".project". exist in app source folder. and could you share full console window log when it happens? thanks & regards MooChang.Kim
Kevin Raine
I am also suffering the symptoms described in this thread. To try to narrow down the cause of the problem I have been using the out-of-the-box Tizen sample "BasicApp". Occasionally, if I create a fresh "BasicApp" project, I can build it, deploy it to the emulator and debug it. But most of the time, I get the error dialog below ... Cannot launch application with GDBClient. An unexpected exception occurred while connecting to the gdbserver. Error creating session java.lang.NullPointerException java.lang.NullPointerException The app successfully deploys to the emulator, but the gdbclient appears to fail to connect to the gdbserver to establish the debug session. Has any progress been made in finding a resolution to this issue ?
Kevin Raine
BTW, I am suffering this problem on both Windows XP and Windows 8 laptops.
MooChang Kim
could you give us more information? I need SDK version you are using, and project configuration files(2 files = ".cproject", ".project". exist in app source folder). I see this FORUM don't allow file attaching, please send it to below mail address. 'moochang.kim@samsung.com' by the way.. currently Win8 is not supported officially yet. but WinXP is supported.. so please send WinXP case.
Kevin Raine
The Tizen SDK I'm using is version 2.1.0. I have emailed the .cproject and .project files from my Windows XP laptop to you.
Kevin Raine
I have narrowed down the circumstances when the error occurs ... 1. Invoke the "Tizen IDE" 2. Select File->New->Tizen Native Project 3. Select Sample->BasicApp 4. For "Project name:" type "testapp" 5. Un-check the "Use default location" checkbox and change the "Location:" field to anything else (eg "C:\test") 6. Press the "Finish" button 8. Invoke the "Tizen Emulator Manager" 9. Create an emulator configuration under tizen2.1->x86-standard called TEST_EMUL using the default settings 10. Launch TEST_EMUL and wait for the emulator to boot to the Home screen 11. In the Tizen IDE, right click the mouse on the testapp project and select Debug As->Tizen Native Application 12. The app is built and installed in the emulator OK, but when the IDE tries to establish the debug session it fails with the following dialog: Cannot launch application with GDBClient. An unexpected exception occurred while connecting to the gdbserver. Error creating session java.lang.NullPointerException java.lang.NullPointerException It is step 5 that causes the error. If you do not perform step 5 (that is, use the default location) the error does not occur. I presume this is a Tizen IDE bug ?
MooChang Kim
thanks for the detail information. actually I tried this scenario in my local environment(XP,Win7,Ubuntu), but fails to reproduce in Emulator case.. but Target case similier issue happens..(not java NullPointer exception but target selection fail) anyway I'll follow up this issue with IDE engineer. from now on, please reference below link for tracking this issue. https://bugs.tizen.org/jira/browse/TSDK-147 Thanks & Regards