Debug optimised app on device and desktop

Discussion in 'Share Your Creations' started by agraham, Jan 3, 2009.

  1. agraham

    agraham Expert Licensed User

    Erel will probably shudder in horror at the sight of this :eek: 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/additional-libraries/2328-debug-library.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/questions-help-needed/3186-task-switcher-wm5-6-a.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:

  2. Erel

    Erel Administrator Staff Member Licensed User

    That's amazing! :sign0188:

    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.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice