×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Jul 2010
    Posts
    159

    application crashing

    my application works fine in emulator but when i run it on my phone application crashes......wat shd i do??

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: application crashing

    hmmm

    it will be more than great you if you tell the forum what your application does, if you mind that then try searching for something known as on device debugging.

    If thats bit difficult for you then you can LOG something in files at regular points and check which function is causing the problem.

    Let me know if you require more help. :-)

    Regards,

  3. #3
    Nokia Developer Champion
    Join Date
    Jul 2004
    Posts
    2,015

    Re: application crashing

    First find out what you mean by "crash". If its a panic find out the panic number, if its an exception, find the exception number.
    If its an exception, see if you have lots of stack variables is one immediate thing to check (often large or numerous TBuf type descriptors).

  4. #4
    Regular Contributor
    Join Date
    Jul 2010
    Posts
    159

    Re: application crashing

    thankoooooooooooo guys problem solved thru debuggging but i did debugging with a very awful method..... i declared dialogs after each line of code to check out which line is generating a crash.....thanx again

  5. #5
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,019

    Re: application crashing

    well for device, you could have gone for On device debugging. Also , some ways like priting soemthing on console, or logging to file is a nice option.

  6. #6
    Nokia Developer Champion
    Join Date
    Jul 2004
    Posts
    2,015

    Re: application crashing

    Quote Originally Posted by yahoo2010 View Post
    thankoooooooooooo guys problem solved thru debuggging but i did debugging with a very awful method..... i declared dialogs after each line of code to check out which line is generating a crash.....thanx again
    Why did you do that?
    Whats wrong with just stepping through the code in the IDE line by line, should take 5 minutes.

Similar Threads

  1. Application crashing at CApSelect
    By manmath4symbian in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2009-12-31, 11:51
  2. Application crashing on GPRS overallDatasize.
    By ash_21 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2009-06-04, 10:53
  3. Application crashing only in N96
    By jinuthomas in forum Symbian
    Replies: 8
    Last Post: 2008-12-17, 12:48
  4. Application is crashing at low battery
    By saajon in forum Symbian
    Replies: 5
    Last Post: 2008-05-05, 10:54
  5. Application crashing MMFServerProxy...
    By codepatch in forum Symbian
    Replies: 4
    Last Post: 2007-07-25, 16:58

Posting Permissions

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