2

I am new with Symbian. I downloaded Symbian SDK, Active Perl 5.6.1.635, and Carbide C++.

I tried to create a Hello World Project but whenever I execute the emulator appears, shows loading and then disappear.

Any clue?

mqpasta
  • 960
  • 3
  • 14
  • 38

1 Answers1

3

Do you have Realtek sound chip on your PC? Try to disable it in windows device manager and try again. This is most common issue in the behaviour mentioned. Also please refer to %temp%\epocwind.out for emulator log. Reasons of failures and panics can be found there.

EDIT: Regarding on-device debugging:

  1. Connect phone to your computer with USB cable.
  2. You should have Nokia Ovi Suite or Nokia PC Suite installed, because you gonna need USB drivers for the phone;
  3. Then go to Carbide, select debug target (GCCE UDEB) and click "Debug".
  4. In the opened window titled "Debug As" select "Symbian OS Phone or Simulator launch";
  5. In next form click button "Change" in "Connect to device" section;
  6. Add new connection;
  7. In the new connection form, go to "Install Remote Agents" tab, select Nokia -> 9.2 -> Application TRK 3.2.8 and click "Install";
  8. Then return to "Setup Connection" tab, choose connection type USB and then select virtual COM port allocated for phone USB connection.
  9. You can make sure that connection is ok by going to "Test Connection" tab, selecting TRK and clicking "Initiate Service Testing".

Connection should be set up for now, so now you can setup the build of SIS file, which should be deployed to the phone for debugging purposes. For this, in the opened window "New Launch Configuration Wizard" click button "Change" in "Debug process" section, and then, in "Deploy method" section select your SIS file in "SIS file to install" combo box. If you don't have any SIS files yet, refer to this page.

Once you have all this stuff set up, you can start actual debugging. Hope this helps. :)

Haspemulator
  • 11,050
  • 9
  • 49
  • 76
  • Thanks! it worked but can you help me to know why this is so? What if we want to check audio files? And personally, its quite difficult to not listen songs while coding :) – mqpasta Dec 05 '10 at 17:51
  • Well, you know... I'm programming on Symbian for about a year and a half, and can say for sure that Symbian emulator can hardly be used in real development. There're many things that simply cannot be done on emulator, and in many other things it works not as real device. So the earlier you'll start to use a real device for your development, the easier things will be. Believe me. – Haspemulator Dec 06 '10 at 05:30
  • P.S. It's quite strange: there's a bounty opened and an answer accepted, but I've received no bounty. Why is it so? – Haspemulator Dec 06 '10 at 05:37
  • Bounty is still open because I still can't run emulator with sound card ;) BTW, can you help me how to use my device to debug application etc? I hope bounty will be served for this :) – mqpasta Dec 08 '10 at 16:09