Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Apr 2009

    [moved] How to debug Console Exe from GUI application in TRK?


    Please tell me that How to debug ConsoleExe application from GUI application using TRK Application.

    I have E71 Mobile device and one GUI application which is i am able to debug using TRK application, but From this GUI application I am calling process for ConsoleEXE application and using TRK I am not able test this EXE.

    How to set this features please tell me.
    1. Debug ConsoleEXE/DLL from GUI application using TRK.
    2. How to pass commandline arguments from TRk.


  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Budapest, Hungary

    Re: How to debug Console Exe from GUI application in TRK?

    Just create a debug configuration to it:
    "Run" menu, "Debug Configurations...", select the group "Symbian OS Application TRK", add a new one (right click+new, or the first icon on the top), select the project, the executable, the .sisx file in "Installation", and you can specify the command line arguments in "Arguments" (or at least that is what I think).

  3. #3
    Regular Contributor
    Join Date
    Apr 2009

    Re: [moved] How to debug Console Exe from GUI application in TRK?


    I want to test console application with two arguments using TRK debugging application.
    but when i write following way under argument Tab than not able to receive any argument.

    -y -i C:\\Data\\Videos\\Test.ogg -vn -acodec libfaac C:\\Data\\Videos\\Test.aac

    int main (int argc, char **argv)
    char g;
    printf("Hello OpenC\n");
    printf("No. of arg = %d\n",argc);
    printf("First is = %s\n", argv[0]);
    printf("First is = %s\n", argv[1]);
    printf("First is = %s\n", argv[2]);

    g = getchar();

    Anybody knows that where I am going on wrong way to pass argument in console application using TRK debugging?

    Attached Images Attached Images

Similar Threads

  1. Replies: 11
    Last Post: 2008-12-16, 10:37
  2. Replies: 24
    Last Post: 2008-09-14, 17:24
  3. Sensor API within console application
    By Saxer in forum Symbian
    Replies: 3
    Last Post: 2008-07-16, 13:38
  4. [moved] 3rd Ed. GUI Application with UI Designer Error
    By kfke in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2008-06-01, 10:22

Posting Permissions

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