Re: Debug problem

Login to reply to this topic.
Thu, 2005-07-07 13:43
Joined: 2005-02-14
Forum posts: 19
There are two versions fo Helloworld in the examples .
Look at the mmp file of the helloworld that you are building.

If you find app in the targettype, then you are building an application to be launched in the emulator - in which case you will find the helloworld icon in the emulator.

If the target type is exe, then your build process should produce a HelloWorld.exe under the epoc32/release/wins/udeb folder.

By default the IDE will only launch epoc.exe - not Helloworld.exe. To lauch the HelloWorld.exe from the IDE, GO to Project properties->run-edit-emulator path->here you should replace epoc.exe with the name you have mentioned uncer target in your mmp file (which is most likely to be HelloWorld.exe)

Hope that help!!

Fri, 2005-07-08 13:46
Joined: 2005-06-29
Forum posts: 9
Re: Debug problem
Thanx for the answer, but my MMP file is as follows:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TARGET            HelloWorldBasic.app
TARGETTYPE        app

// Change the second number here to change the UID for this application
UID               0x100039CE 0x10005B91
TARGETPATH        \system\apps\helloworldbasic

SOURCEPATH        ..\src
SOURCE            HelloWorldBasic.cpp
SOURCE            HelloWorldBasicApplication.cpp
SOURCE            HelloWorldBasicAppView.cpp
SOURCE            HelloWorldBasicAppUi.cpp
SOURCE            HelloWorldBasicDocument.cpp

SOURCEPATH        ..\data
RESOURCE          HelloWorldBasic.rss
RESOURCE          HelloWorldBasic_caption.rss

USERINCLUDE       ..\inc

SYSTEMINCLUDE     \epoc32\include

LIBRARY           euser.lib
LIBRARY           apparc.lib
LIBRARY           cone.lib
LIBRARY           eikcore.lib
LIBRARY           avkon.lib
LIBRARY           commonengine.lib

LANG SC

AIF             HelloWorldBasic.aif ..\aif HelloworldBasicAif.rss c12 qgn_menu_demo_cxt.bmp qgn_menu_demo_cxt_mask.bmp qgn_menu_demo_lst.bmp qgn_menu_demo_lst_mask.bmp
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

As you can see, the TARGETTYPE is set to "app". But when i run the project,
in the emulator, "HelloWorld" (or any other project i've tried to run) isn't present.
I can't find it both in the application launcher and in the folders.

Please help!
Fri, 2005-07-08 15:56
Joined: 2005-05-09
Forum posts: 46
Re: Debug problem
See if you can follow the example below. The important point is that the build process is creating a file called: HelloWorldBasic.app. After you've built this file you should be able verify that it has built by checking the timestamp in system\apps\helloworldbasic (See example below for details..)

Code:

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>more *.mmp
   // HelloWorld.mmp
   TARGET        HelloWorld.app
   TARGETTYPE    app
   UID           0x100039CE 0X10008ACE
   TARGETPATH    \system\apps\HelloWorld
   ...

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>set epocroot
   EPOCROOT=\Symbian\7.0s\Series60_v20\

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>date
   The current date is: 08/07/2005

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>time
   The current time is: 15:36:23.31

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>bldmake bldfiles

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>ABLD.BAT build wins udeb
   Creating library \Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
   \EXAMPLES\HELLOWORLD\HELLOWORLD\WINS\UDEB\HELLOWORLD.lib and object \Symbia
   n\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20\EXAMPLES\HELLOWORLD\H
   ELLOWORLD\WINS\UDEB\HELLOWORLD.exp
   make -r  -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20
   \EXAMPLES\HELLOWORLD\WINS.make" FINAL CFG=UDEB VERBOSE=-s

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>dir ..\..\epoc32\release\wins\udeb\z\system\apps\HELLOWORLD\HELLOWORLD.APP
   08/07/2005  15:37            32,878 HELLOWORLD.APP

C:\Symbian\7.0s\Series60_v20\Examples\helloworld>\Symbian\7.0s\Series60_v20\epoc32\release\wins\udeb\epoc.exe

Fri, 2005-07-08 16:44
Joined: 2005-06-29
Forum posts: 9
Re: Debug problem
Hello, thanxs for the answer.
The compilation process creates the "HelloWorldBasic.app" file in the following folder "C:\Symbian\8.0a\S60_2nd_FP2\epoc32\release\armi\urel". Is this an error? In which folder should be written in order to be used by the emulator?

Thanx
  • Login to reply to this topic.