Languages

Menu
Sites
Language
Debugging Tizen native applications

Hi all,

Is it possible to install emulator-side software on attach to emulator through gdb to use backtrace(bt)? For example when debug C++ code, when gdb catches SIG_SEGV for example it is possible to see backtrace and the state of program in the fall moment. It it possible to do something like this in Tizen SDK? And more I found out that gdb throws out from debugging mode without any reason when i attach them to emulator and do step over. So it it not possible to debug in normal mode tizen applications for me, so i must do something like printf or applog and compare output. It takes a lot of time(if compare to backtrace for example).

Thanks in advance, Nikolay

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

Responses

1 Replies
Alex Dem
Hi, I am able to debug using standard debug process for emulator: https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.appprogramming%2Fhtml%2Fapp_dev_process%2Fdebugging_app_emulator.htm I am using tizen 2.2.0 official for win32. My configuration is: Project->Properties->Configuration: Debug[Active] Project->Properties->Tizen Settings->Platform a)Platform-Tizen2.2 b)Archiecture:x86. After app was launched in debugging mode in Debug perspective I am able to set any breakpoint via Run->Toggle Breakpoint. After breakpoint was obtained in Debug window I could see next: Tizen debugger(Suspended)->Thread[1](Suspended:Breakpoint hit) and below something that looks like call stack, but most calls have adresses only (no method names). Is it enough for your goals? p.s. Sometimes 'Step Over' has strange behaviour during debug. Alexey.