×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Unhappy Debugging a Dll on device

    hi ..

    I am quite new to on device debugging, please forgive me if there are any blaring mistakes in this post

    I have a project which uses a dll from another project. Both projects are in my carbide workspace. I have set up TRK on my phone and I am using a usb cable to connect my phone to my pc. I can hit break points in the Exe that I am running but I cant seem to hit any of the break points in the Dll source. All I get are yellow warnings saying unresolved breakpoint.

    here are the steps I have already tried.
    • in the debug as dialogues source tab I have added the Dll's source
    • I have tried importing the Dll into the Exe project using the Import > symbian executable > pointing to the dll I need
    • I have also tried the method that was suggested here
      http://blogs.s60.com/creatingcarbide..._on_dev_1.html



    but all to no avail .. any help regarding debugging into a Dll on a device will be much appreciated ..

    thanks and regards
    Joel

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Re: Debugging a Dll on device

    You have to build the dll with debug informations (gcce udeb). After that you have to change the path in your *.pkg file (from ../urel/.. to ../udeb/..).

    Karsten
    www.sic-software.com

  3. #3
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Debugging a Dll on device

    You just have to change both dll and exe project to Debug [right click on project -> Build configurations -> Set active -> Phone Debug], [no need to change anything on pkg, carbide.c++ will take care].

  4. #4
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,563

    Re: Debugging a Dll on device

    Just a note here on changing the path or not. If the paths are 'hard coded' (Example C:\Symbian\9.1\S60_3rd_MR\Epoc32\release\GCCE\UREL) , then you might have to change it for udeb, etc, but if the paths are using something like (EPOCROOT)Epoc32\release\$(PLATFORM)\$(TARGET) then you can skip changing, carbide will take care of it. Note though that you might not be able to build from command line if you are using the second one

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,347

    Re: Debugging a Dll on device

    Check this screencast: Debugging DLLs Screencast

    Kiran.
    Nokia Developer Wiki Moderation team

Similar Threads

  1. [moved] on device debugging
    By farrukhraza in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2008-08-13, 12:36
  2. RLibrary problem loading DLL in device
    By fjgsilva in forum Symbian
    Replies: 4
    Last Post: 2008-06-05, 15:36
  3. On Device Debugging Configuration
    By the_mincer in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2006-11-15, 18:50
  4. Options for On Device Debugging
    By ShaneSprite in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-06-22, 06:31
  5. Replies: 0
    Last Post: 2005-06-22, 18:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×