Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Persistence of Table content under IDE

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-27-2010, 08:37 AM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default Persistence of Table content under IDE

I am adding some tables to GPS4PPC-V2 (for waypoints) and running under 6.90 desktop IDE.

I was getting some confusion with finding that in successive runs one of the tables held onto all ca. 300 entries from run to run, and sometimes duplicated or triplicated them.

But today was the ultimate example - after rebooting overnight my first run under the IDE retained the entries from the last run yesterday! Not a huge problem (I have a "Clear" button in my GUI), but startling...

Mike.
Reply With Quote
  #2 (permalink)  
Old 05-27-2010, 12:45 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Very startling, especially as I have a good idea as to what is happening when the IDE starts and stops a program - what it does is basically tear everything down when it stops and start from scratch when it is rerun. I suspect the data is being reloaded from some storage somehere - especially indicated by the fact that it "survived" a reboot which means the data must have been on disc somewhere and read off when your code started running. Are you sure that you don't have a subtle bug in your code?
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.

Last edited by agraham : 05-27-2010 at 01:54 PM.
Reply With Quote
  #3 (permalink)  
Old 05-27-2010, 02:24 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
Are you sure that you don't have a subtle bug in your code?
No, I'm not! But I will have a look to see if this is the problem. The content of the table does indeed come from a file (name of which is not embedded in the code), but I may also be invoking a save/restore mechanism inherited from a previous usage of this portion of my code. Thanks for your consideration.

Mike.
Reply With Quote
  #4 (permalink)  
Old 05-27-2010, 03:28 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by mjcoon View Post
... but I may also be invoking a save/restore mechanism inherited from a previous usage of this portion of my code.
Yes, that was it; classic being hoist by my own petard...

Mike.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autoresize columns in table to fit Table Width ghale Code Samples & Tips 4 05-15-2010 12:14 PM
Old Content in the Text box when I Add Again aru Questions (Windows Mobile) 1 02-21-2010 01:19 PM
Persistence of table cell selection mjcoon Questions (Windows Mobile) 3 09-19-2009 01:42 PM
Retrieve table filter from the filtered table? LineCutter Questions (Windows Mobile) 1 09-08-2008 06:20 AM
How to Stream Internet Content from FMOD Louis Code Samples & Tips 1 07-16-2008 03:22 PM


All times are GMT. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0