Changes between Version 27 and Version 28 of Getting-Started/Symbian


Ignore:
Timestamp:
May 13, 2009 9:40:12 AM (16 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Symbian

    v27 v28  
    177177[[Image(pkg-in-explorer.png)]] 
    178178 
    179 === Edit the PKG File === 
    180  
    181 As said earlier, the PKG file contains absolute directory path for the SDK, so you may need to edit it if your SDK location is different than the one specified in the PKG. 
    182  
    183 Edit the PKG by ''double clicking'' it in the ''Symbian Project Navigator'' pane. Check out these lines in the PKG file: 
    184  
    185 {{{ 
    186 ; Target 
    187 "C:\Symbian\9.1\S60_3rd_MR\epoc32\release\gcce\UDEB\symbian_ua.exe"-"!:\sys\bin\symbian_ua.exe" 
    188 }}} 
    189  
    190 Check that the SDK path is correct. 
    191  
    192 Once you are done with the modification, save the file. We can close the PKG file editor window now. 
    193  
    194179 
    195180=== Build the SISX File === 
     
    216201=== Deploy the sisx file to phone === 
    217202 
    218 Using Nokia Application Installer (included with PC Suite), try installing the symbian_ua.sisx file. It should install successfully. If not, double check: 
     203Using Nokia Application Installer (included with PC Suite), try installing the {{{symbian_ua.sisx}}} file, located in the {{{build.symbian}}} directory. It should install successfully. If not, double check: 
    219204  * Application Manager has been set to allow all 
    220205  * Date and time of phone matches development PC 
     
    342327 
    343328 
    344 === Configure the Debug Configuration Settings in Carbide === 
    345  
    346 Next we will need to create a new on-device debugging configuration. 
    347  
    348 Select '''Run''' --> '''Debug Configurations...''' from the main menu: 
    349  
    350 [[Image(set-debug-configuration.png)]] 
    351  
    352 '''Debug Configuration''' dialog will appear like below: 
    353  
    354 [[Image(new-application-trk.png)]] 
    355  
    356 ==== Create a new Debug configuration for on-device debugging ==== 
    357  
    358 Right-click '''Symbian OS App TRK''', and click '''New'''. 
    359  
    360 New configuration will appear on the dialog. We need to edit few things: 
    361  1. Rename the configuration name from '''pjproject Phone Debug...''' to '''symbian_ua Phone Debug...''', as seen in the picture below. (Hints: when we have different executable to debug, we will create different configuration). 
    362  1. Set the ''Executable'' 
    363  1. Set the ''Remote process to launch'' 
    364  
    365 You should see something similar to the image below. 
    366  
    367 [[Image(new-debug-configuration.png)]] 
    368  
    369 Now click on '''Apply''' button. The configuration name on the left tree now will get updated. 
    370  
    371 ==== Configure TRK Connection ==== 
    372  
    373 Now select '''Connection''' tab. Choose the '''Serial Port''' to the COM port where your phone connection is mapped to, which you have found out from the step above (look at the Device Manager). In my case, it was COM3: 
    374  
    375 [[Image(DevelopingSymbianAppWithCarbide:debug_connection.JPG)]] 
    376  
    377 The ''Baud Rate'' setting should match the setting on the TRK application running on the phone. Since we have not changed this setting, just accept the default value (115200). 
    378  
    379 Now click on '''Apply''' button.  
    380  
    381 ==== Configure SIS File ==== 
    382  
    383 Now select the '''Installation''' tab. Browse the .sisx file from PJSIP's {{{build.symbian}}} directory: 
    384  
    385 [[Image(DevelopingSymbianAppWithCarbide:debug_installation.JPG)]] 
    386  
    387 Now click '''Apply''' button 
    388  
    389 We are now ready to perform on-device debugging! Get yourself some tea, you deserve some break. 
    390  
    391  
    392 === Debugging Application === 
    393  
    394 Still in the '''Debug''' dialog, press the '''Debug''' button. Hold your breath! 
     329=== Start Debugging === 
     330 
     331Because we haven't setup a debug configuration, if you start debugging, Carbide C++ will offer you to setup one. 
     332 
     333On the ''Symbian Project Navigator'' select bld.inf, and press debug on the toolbar (the picture of the bug...): 
     334 
     335[[Image(new-launch-configuration.png)]] 
     336 
     337You will get the Launch Configuration Wizard. Click '''Next'''. You'll get : 
     338 
     339[[Image(executable-selection.png)]] 
     340 
     341Executable should already be set to {{{symbian_ua.exe}}}, so just click '''Next'''. You'll get: 
     342 
     343[[Image(trk-conn-settings.png)]] 
     344 
     345This should be defaulted to {{{connection 1}}} which we have setup earlier. Click '''Next'''. You'll get: 
     346 
     347[[Image(trk-sis-selection.png)]] 
     348 
     349Verify that the sisx is {{{symbian_ua.sisx}}} which we already tested beforehand. Click '''Next''' then '''Finish'''. You should immediately begin debugging. 
    395350 
    396351Carbide now may rebuild the project (you may take a peek on what it's doing by looking at '''Console''' tab). Once it's done, Carbide will switch to ''Debug Perspective'' and the SIS file will be downloaded to the phone and this window will appear briefly: