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

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

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Debug optimised app on device and desktop

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2009, 03:49 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 Debug optimised app on device and desktop

Erel will probably shudder in horror at the sight of this but here's a rather arcane application, written in Basic4pp, that adds the reporting of the line number that caused an error in an optimised compiled app together with the ability to breakpoint and single step when used with my my Debug library.

I have been looking at debugging on the device ever since the optimising compiler came out and so far my best effort was the Debug library which could look inside compiled apps and set variables and properties but could not control the app in any way. Now it can! Demo app and help for the program are included in the archive.

You will need to download my http://www.basic4ppc.com/forum/addit...html#post12598 (and read the help) to play with this.

It is probably a bit rough round the edges as far as error handling goes but it is really only a technology demonstrator for those brave enough to try. I may or may not polish it a bit - that partly depends upon whether Erel has any plans for something similar (or even different ) in future releases.

My Axim X30 had a good task switcher but my Diamond didn't I've recently started using HandySwitcher http://www.basic4ppc.com/forum/quest...html#post20600 which although not free is cheap and good. Recommended for quick task switching on apps such as the Demo here which has four Forms on the go at once.
Attached Files
File Type: zip OptimisedDebug1.0.zip (14.9 KB, 44 views)
Reply With Quote
  #2 (permalink)  
Old 01-03-2009, 04:08 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,734
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

That's amazing!

I plan to add some of these features in the next version.
However it will be a little bit easier for me to accomplish as I will add all the required 'debugging' code during code building.
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
Web browser for desktop and device agraham Additional Libraries 73 03-11-2012 03:44 PM
Using rapi from desktop to copy file from device to desktop sunnyboyj Questions (Windows Mobile) 19 10-27-2010 01:08 PM
Device or Desktop DaveW Questions (Windows Mobile) 2 11-07-2008 12:04 PM
Different behaviour DeskTop and Device HARRY Questions (Windows Mobile) 2 02-22-2008 12:36 PM
V6-not-optim, V6-Debug, and V6-optimised give not the same nested FOR-NEXT execution dan kabestan Questions (Windows Mobile) 1 01-04-2008 07:17 PM


All times are GMT. The time now is 12:11 PM.


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