×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    [moved] On.device debugging no longer works

    In the past, I was able to on-device-debug my protected-range UID application on the handset via the trick taught to me by ltomulata - I signed the sis file with opejn signed online, and then installed it an dwent on to run the program.

    Unfortunately, this no longer works as of SDK v1.0 - the SDK always insists on recreating the SIS file as following:
    Code:
    ***Building project "LocaNote" for configuration "Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]"
    HookLogger\;
    EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0\
    ***Printing environment variables modified from default:
    
    ...
    
    NO_DEPENDENCIES=-nd
    MAKE=make -j 4
    
    Working Directory: C:/Symbian/Carbide/workspace/LocaNote/group
    
    ***Makefile structures up to date. Skipping 'bldmake bldfiles'
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ export  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
    
    Total Time: 0 sec
    
    ***Generating abld makefile.
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ makefile gcce Icons_aif_scalable_dc  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\GCCE.make" MAKEFILEICONS_AIF_SCALABLE_DC VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE MAKMAKE
    
    Total Time: 0 sec
    
    ***Generating abld makefile.
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ makefile gcce help  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\GCCE.make" MAKEFILEHELP VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\HELP\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE MAKMAKE
    Converting rtf files to .ptml.xml
    
    rtf2ptml "-idC:\Symbian\Carbide\workspace\LocaNote\help\/" "-odC:\Symbian\Carbide\workspace\LocaNote\help\/" "-ox.ptml.xml" "-dtdfile:///C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/tools/cshlpcmp/dtd/" "-xslfile:///C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/tools/cshlpcmp/xsl/" "helptext"
    
    Converting .ptml.xml files to .csptml.xml
    
    ProcessingC:\Symbian\Carbide\workspace\LocaNote\help\helptext.ptml.xml
    Converting .csptml.xml files to .asptml.xml
    
    processing C:\Symbian\Carbide\workspace\LocaNote\help\helptext.csptml.xml
    Converting .cust.xml file to .cshlp.xml
    
    Converting .asptml.xml files to .cshlp.xml
    
    processingC:\Symbian\Carbide\workspace\LocaNote\help\custom.xml
    processingC:\Symbian\Carbide\workspace\LocaNote\help\helptext.asptml.xml
    Warning: Character style 'hyperlink' not defined. Styling ignored
    Converting cshlp file to EPOCHelp file
    
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winc\urel\cshlpwtr "-ifC:\Symbian\Carbide\workspace\LocaNote\help\LocaNoteLiteHelp.cshlp.xml" "-ofC:\Symbian\Carbide\workspace\LocaNote\help\LocaNoteLiteHelp.hlp"
    
    Extracting contexts into a cpp header file C:\Symbian\Carbide\workspace\LocaNote\help\LocaNoteLiteHelp.hlp.hrh
    
    Total Time: 1 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ library gcce  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\GCCE.make" LIBRARY VERBOSE=-s
    make -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE LIB
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\LOCANOTE\GCCE\LOCANOTE.GCCE" LIBRARY
    make -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\HELP\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE LIB
    
    Total Time: 1 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ resource gcce udeb  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\GCCE.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE CFG=UDEB RESOURCE
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\LOCANOTE\GCCE\LOCANOTE.GCCE" RESOURCEUDEB
    make -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\HELP\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE CFG=UDEB RESOURCE
    
    Total Time: 2 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ target gcce udeb  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\GCCE.make" TARGET CFG=UDEB VERBOSE=-s
    make -j 4 -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "ICONS_AIF_SCALABLE_DC.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\ICONS_AIF_SCALABLE_DC\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE CFG=UDEB BLD
    make -j 4 -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\LOCANOTE\GCCE\LOCANOTE.GCCE" UDEB
    make -j 4 -s  -C \Symbian\Carbide\workspace\LocaNote\group -f "HELP.MK" TO_ROOT=..\..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\HELP\GCCE TO_BLDINF=..\..\..\..\..\Symbian\Carbide\workspace\LocaNote\group PLATFORM=GCCE CFG=UDEB BLD
    Converting rtf files to .ptml.xml
    
    rtf2ptml "-idC:\Symbian\Carbide\workspace\LocaNote\help\/" "-odC:\Symbian\Carbide\workspace\LocaNote\help\/" "-ox.ptml.xml" "-dtdfile:///C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/tools/cshlpcmp/dtd/" "-xslfile:///C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/tools/cshlpcmp/xsl/" "helptext"
    
    Converting .ptml.xml files to .csptml.xml
    
    ProcessingC:\Symbian\Carbide\workspace\LocaNote\help\helptext.ptml.xml
    Converting .csptml.xml files to .asptml.xml
    
    processing C:\Symbian\Carbide\workspace\LocaNote\help\helptext.csptml.xml
    Converting .cust.xml file to .cshlp.xml
    
    Converting .asptml.xml files to .cshlp.xml
    
    processingC:\Symbian\Carbide\workspace\LocaNote\help\custom.xml
    processingC:\Symbian\Carbide\workspace\LocaNote\help\helptext.asptml.xml
    Warning: Character style 'hyperlink' not defined. Styling ignored
    Converting cshlp file to EPOCHelp file
    
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\release\winc\urel\cshlpwtr "-ifC:\Symbian\Carbide\workspace\LocaNote\help\LocaNoteLiteHelp.cshlp.xml" "-ofC:\Symbian\Carbide\workspace\LocaNote\help\LocaNoteLiteHelp.hlp"
    
    Extracting contexts into a cpp header file C:\Symbian\Carbide\workspace\LocaNote\help\LocaNoteLiteHelp.hlp.hrh
    
    Total Time: 3 sec
    
    ***Invoking abld command
    
    ...
    
    
    Total Time: 4 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\LocaNote\group\ test export  
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\LocaNote\group\EXPORTtest.make" EXPORT VERBOSE=-s
    Nothing to do
    
    Total Time: 4 sec
    
    ***Build Complete
    
    ***Invoking makesis.exe ....
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools\makesis.exe C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\build\Symbian\Carbide\workspace\LocaNote\group\_resolvedLocaNote.pkg C:\Symbian\Carbide\workspace\LocaNote\sis\LocaNote.sis 
    
    ...No key/cert defined. Generating dummy key/cert for self-signing (key-gen.key/cert-gen.cer)...
    No passphrase defined. Using: "DefaultPassword"
    
    ***Invoking makekeys....
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools\makekeys.exe -cert -password DefaultPassword -len 2048 -dname "CN=JoeBloggs OR=Acme" key-gen.key cert-gen.cer 
    
    Existing private key will be used: 
    Created certificate: 
    
    ***Invoking signsis.exe....
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\tools\signsis.exe -s C:\Symbian\Carbide\workspace\LocaNote\sis\LocaNote.sis C:\Symbian\Carbide\workspace\LocaNote\sis\LocaNote.sisx C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\build\Symbian\Carbide\workspace\LocaNote\group\cert-gen.cer C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\build\Symbian\Carbide\workspace\LocaNote\group\key-gen.key DefaultPassword
    Of course, installation then fails with the message about sis installation failing due to invalid signing.

    Anybody have any ideas on how to tackle this issue?

    All the best
    Tam Hanna
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

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

    Re: On.device debugging no longer works

    Quote Originally Posted by tamhanna View Post
    In the past, I was able to on-device-debug my protected-range UID application on the handset via the trick taught to me by ltomulata - I signed the sis file with opejn signed online, and then installed it an dwent on to run the program.

    Unfortunately, this no longer works as of SDK v1.0 - the SDK always insists on recreating the SIS file as following:
    Of course, installation then fails with the message about sis installation failing due to invalid signing.

    Anybody have any ideas on how to tackle this issue?

    All the best
    Tam Hanna
    What SDK?

    Well regarding signing issue, is it possible that your application uses capabilities not supported by self-signed certificate?

    Well you could ofcourse try open signed on debug phone build and deploy it yourself(havent done it, but it might work).

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,694

    Re: On.device debugging no longer works

    If you like red things:
    Quote Originally Posted by tamhanna View Post
    [CODE]
    ***Building project "LocaNote" for configuration "Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]"
    HookLogger\;
    EPOCROOT=\S60\devices\S60_5th_Edition_SDK_v1.0\
    It might be an S60 5th edition SDK.

    Tamhanna: check if you can install anything.

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: On.device debugging no longer works

    The SDK should have really nothing to do with this. ODD is a feature of Carbide.c++ (btw, I'm moving this to the relevant forum) and it is Carbide that must ensure (or should be tweaked) that the right properly signed SISX file is being sent to the device during the ODD initialization sequence.

    I don't have Carbide.c++ on this PC so I can't look for some hints but I hope to find the time tomorrow at the office. However, Open Signed Online support is critical in Carbide.c++ so if this is really broken it must be reported as a bug to Carbide.c++

    I try to report at least a bug per week to Carbide.c++, I hope you guys do at least one per day
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    3

    Re: [moved] On.device debugging no longer works

    There's two things to check:

    1) It sounds like Carbide is set up to build and sign a sis file. If your goal is to use a pre-signed sis file then that needs to be turned off.
    - Make sure your debug build configuration is current
    - Go to the project properties (right-click on project, choose Properties)
    - Go to the SIS builder tab. There's probably one item there, with the Enabled checkbox checked. Uncheck it and click OK.

    That should stop Carbide from rebuilding the sis file.

    2) Next you have to tell the debugger to download your pre-signed sis file.
    - Open the Debug Configurations dialog
    - Choose the launch configuration you use to start the debugger with your app
    - Click on the Installation tab
    - Make sure the installation file refers to the sis file

    A couple of comments:
    - debugging will only work is you signed the debug build of your app and all the sources match what was signed
    - every time you want to change any code you'll need to re-sign the sis file online. That's very slow turnaround. Getting a developer certificate so you can locally sign as part of the build process is much quicker

  6. #6
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: [moved] On.device debugging no longer works

    Hi,
    sorry for the long aewayness (love my health).

    I now got a developer certificate viua, well, and it works flawlessly!

    ALl the best
    Tam
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. SYnc no longer works
    By hamishm in forum General Development Questions
    Replies: 3
    Last Post: 2005-08-09, 19:52
  2. Why is debugging so hard!?
    By aspaans in forum Mobile Java Tools & SDKs
    Replies: 6
    Last Post: 2005-05-23, 18:53
  3. Replies: 3
    Last Post: 2004-03-15, 17:13
  4. What PC hardware/software works well for On-target Debugging?
    By nawkboy in forum Symbian Networking & Messaging (Closed)
    Replies: 13
    Last Post: 2003-10-28, 16:08
  5. What PC hardware/software works well for On-target Debugging?
    By nawkboy in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-04-23, 02:27

Posting Permissions

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