Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

We are having a tough problem to debug on the Samsung reality.
Basically, when we are in our app...everything is fine. Upon exit, 8 out of 10 times, the device will reboot.

Sometimes it does not reboot until we are all the way out of the application.

I am grasping at straws here so would appreciate any advice, ideas, thought,
etc.

Thanks.
-Mike

1. Check all pointer are initialized to NULL.
2. Check all pointer are assigned NULL after getting FREEed.
2. Put DBGPRINTF & check where does it Crash the device.
3. Try to Look for the exact sequence of steps you do between launch & exit for which App Crashes. (And also for which it does not Crash) [this step may give you something close to look for errors]
4. Go through the Code Thoroughly in the seq found in 3. Check for 1,2 & all other possible errors.
you may also use Debug Sequences:
https://brewx.qualcomm.com/bws/websites/dx/en/brew31/ad/kb/running_apps/...
thanks.

1. Check all pointer are initialized to NULL.
2. Check all pointer are assigned NULL after getting FREEed.
2. Put DBGPRINTF & check where does it Crash the device.
3. Try to Look for the exact sequence of steps you do between launch & exit for which App Crashes. (And also for which it does not Crash) [this step may give you something close to look for errors]
4. Go through the Code Thoroughly in the seq found in 3. Check for 1,2 & all other possible errors.
you may also use Debug Sequences:
https://brewx.qualcomm.com/bws/websites/dx/en/brew31/ad/kb/running_apps/...
thanks.

>> you may also use Debug Sequences:
>> https://brewx.qualcomm.com/bws/websi..._Sequences.htm
Is there a way to programmatically turn this on?
I am having a hard time getting it going.
-Mike

>> you may also use Debug Sequences:
>> https://brewx.qualcomm.com/bws/websi..._Sequences.htm
Is there a way to programmatically turn this on?
I am having a hard time getting it going.
-Mike

mdorin;82048 wrote:We are having a tough problem to debug on the Samsung reality.
Basically, when we are in our app...everything is fine. Upon exit, 8 out of 10 times, the device will reboot.
Sometimes it does not reboot until we are all the way out of the application.
I am grasping at straws here so would appreciate any advice, ideas, thought,
etc.
Thanks.
-Mike
Plz check the evt and wParam value in handle event..For example
if(evt ==1)
{
IShell_CloseApplet(////---Write suitaible parameter as defined----)

mdorin;82048 wrote:We are having a tough problem to debug on the Samsung reality.
Basically, when we are in our app...everything is fine. Upon exit, 8 out of 10 times, the device will reboot.
Sometimes it does not reboot until we are all the way out of the application.
I am grasping at straws here so would appreciate any advice, ideas, thought,
etc.
Thanks.
-Mike
Plz check the evt and wParam value in handle event..For example
if(evt ==1)
{
IShell_CloseApplet(////---Write suitaible parameter as defined----)