iOS Question Cacheing problem?

mrred128

Active Member
Licensed User
Longtime User
I have two devices....iphone4 (7.1.2) and iphone5s (9.2) and use the hosted builder. b4i is 2.31 (only version ever run) and use jdk 8.065.

When I compile and run (debug) my code, parts get uploaded and other parts don't seem be get updated. Cleaning the project or reloading does not always work. There are never any errors shown on the ide, just issues with the program and the debug screen does not reflect any changes made (log events).

Environmental, bug or me?
 

mrred128

Active Member
Licensed User
Longtime User
I deleted the app off the phone, uninstalled B4I. Reinstalled B4I, cleaned the project, recompiled and got this..... again

From my main......

23476675390_efa10532b1_o_d.jpg


From my Vars.......

23145559533_ce78ace885_b_d.jpg


And the debug screen........

23746235686_e1da1a3b87_o_d.jpg


There should be a whole lot more log info when V.DoOpen executes..... It's obvious an old version (before addition log entries) get's sent to the phone. I'm not sure what to do at this point.
 
Upvote 0

mrred128

Active Member
Licensed User
Longtime User
Found the problem......It's me and you....or maybe Apple......only you would know that.....

To recreate the problem......

Add a new class to any project

Make a sub Called DoNothing (or what ever) and have it spit out log text....just to show it's there....

Dim the class in your main process globals
put your class.Initialize in your Application_Start
execute your class.DoNothing in your Application_Active

run your app

Now remove the Initialize sub from your class. Remove the ref from your Application_Start and run your app. It presumably runs without errors, but no log entry has been made. You can add code to that class and some works some does not.

That's how I introduced the error but your IDE, cross compiler or run time didn't catch it.

Hope this helps......
 
Upvote 0
Top