Is it possible to debug shared libraries on Symbian with Qt Creator?



  • I could not debug shared libraries on Symbian with Qt Creator / GDB. I think the problem is not specific to my projects because I can reproduce it with a very simple sample application one can download from http://www.developer.nokia.com/Community/Wiki/File:QtSymbianDllExample.zip

    I downloaded the sample application, opened it with Qt Creator, built it, deployed it to the device, placed some breakpoints in various places, then started debugging. The execution of the program stopped at a breakpoint only if that breakpoint was in the source of the main app (testui_simpledllengine). If the breakpoint was in the source of the shared library (qtenginedll) then nothing happened.

    I checked that that whole project was built in debug mode, that .dll, .dll.map and .dll.sym files were generated in the proper directory.

    I checked the messages of GDB and found the following:

    bq. "Reading symbols from C:/QtSDK/Symbian/SDKs/Symbian3Qt474//epoc32/release/armv5/udeb/testui_simpledllengine.exe.sym..."
    Reading C:/QtSDK/Symbian/SDKs/Symbian3Qt474//epoc32/release/armv5/udeb/testui_simpledllengine.exe.sym......

    ~"done.\n"

    There are no similar messages for the symbols of the shared library.

    I tried to get GDB to read the symbols of the shared library by trying to run GDB commands manually but I failed.

    Is it possible to debug shared libraries on Symbian with Qt Creator?

    My environment:
    Windows Vista, Qt SDK 1.1.5, Qt 4.7.4, Qt Creator 2.4.1, Nokia N8, Symbian Anna


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.