I’m frustrated

Bug finding recommendation

I believe my app (project209168) is periodically causing my tablet to freeze.

It can be anywhere from 30 minutes to 8+ hours of my app running (I've automated the touch input and it is working fine except for the freeze).

I'm testing on freshly formatted (stock apps from google & provider) Android 4.2.2 tablets (Samsung model GT-P5100) with:
* weiner remote debug enabled and
* on tablet CPU stats display (Developer options > include bug reports in power menu & Show CPU usage & Show all ANRs)

I am testing with 10+ tablets running the app at the same time trying to catch the "bug" but the tables freeze at random periods (some don't freeze) and I don't know what to look for in weiner etc to resolve this issue.

Please share your bug finding methods, recommendations & links as it's driving me crazy!
1 person has
this question
+1
This topic is no longer open for comments or replies.
  • Deveu,

    Please give us some time to make suggestions how to help you in this case, but please note, that it's almost impossible to "catch" a bug with this periodicity.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • Hello!

    Are there any errors in Weinre? What screen is opened in this moment? What is executed there?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • Hi Evgene & Maryna,

    Any progress with your suggestions/recommendations as I am not able to catch the "bug".

    My tablets are running when they freeze I cannot see anything in weinre (no console error etc).

    When last the whole tablet freezes I see this:



    I looked the app but not much data stored etc



    - How can I find why it is freezing?

    - How can I monitor cpu and/or memory used by app, so I can find at what time this is causing problem before it freezes?

    - How do I do a log on the tablet that I can access afterward when I have to hard reset after freeze? If you have apps that do this that you can recommend it would be great.

    Thanks
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hello Deveu,

    Have you tried to debug with Weinere ?
    Please specify, are there any errors in Weinre?
    How do I do a log on the tablet that I can access afterward when I have to hard reset after freeze?

    With Weinre debugger you can easily debug your app remotely.
    All console.log() messages will appear there.
    How can I find why it is freezing?

    Error or exceptions that app can generate because of wrong service usage, javascript cusomt implementation, etc,
    How can I monitor cpu and/or memory used by app, so I can find at what time this is causing problem before it freezes?

    You can see it in the OS settings.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. happy, confident, thankful, excited kidding, amused, unsure, silly indifferent, undecided, unconcerned sad, anxious, confused, frustrated