Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor Cartouche67's Avatar
    Join Date
    Mar 2009
    Location
    Strasbourg - France
    Posts
    110
    Hi everybody,

    I try to debug my application in a N95 8Gb device, so I follow this tutorial : http://developer.symbian.org/wiki/in..._on_the_Device.
    The connection seems to work fine because the Status of TRK is "In Use". The problem is that, when I launched my application, nothing appeared in the Console "TKR Program Output". (I try with another program and I get the same result).
    So I ask :
    - Is it normal ? I expected to have the same output than emulator.
    - Do you know how can I check that all is well configured ?
    - Perhaps another way to debug on a device ?

    Thanks you.
    Regards and Peace.

    Cartouche67.

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,680
    What kind of "same output" do you expect? The device is not the emulator. The emulator executes debug binaries, producing debug output. The devices you buy in a store run release variants, producing no debug output.

  3. #3
    Regular Contributor Cartouche67's Avatar
    Join Date
    Mar 2009
    Location
    Strasbourg - France
    Posts
    110
    Ok I see
    I want to debug my program, it should generate and write in a log file (and do something else) but nothing seems to be done... And It works on emulator.
    So I try TRK to know what's happen, like a "Panic Error" or something. Perhaps should I use RDebug to see where my program stooped ? In fact I don't find how use TRK.
    Regards and Peace.

    Cartouche67.

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    27,680
    Note that if there are capability problems, TRK will not be able to not launch your application.
    Since your application works in the emulator, check if there are warnings in the logfile (http://wiki.forum.nokia.com/index.php/Epocwind.out)
    And yes, even if the built-in stuff in the device will not generate debug output, your own application can (if it is a debug build - RDebug does not do anything in release builds)
    About the error codes, they may be independent from TRK, so make sure that you have enabled them (http://wiki.forum.nokia.com/index.ph...ded_panic_code)

  5. #5
    Regular Contributor Cartouche67's Avatar
    Join Date
    Mar 2009
    Location
    Strasbourg - France
    Posts
    110
    Thank you very much for your help, now I use RDebug::Printf() to debug.
    Regards and Peace.

    Cartouche67.

Similar Threads

  1. Can't kill process when console is enabled
    By alav in forum Symbian C++
    Replies: 3
    Last Post: 2007-11-28, 19:07
  2. No RDebug output in Carbide.c++ console
    By pandreas81 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2007-11-21, 07:49
  3. Carbide Debug Output and Panics
    By ian.neall in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-08-28, 20:56
  4. problem in a j2me program on Nokia 6630/6680
    By lappard in forum Mobile Java General
    Replies: 1
    Last Post: 2006-06-29, 01:43
  5. Replies: 0
    Last Post: 2004-03-30, 00:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved