BBC BASIC for Windows
« Module Viewer utility »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:58pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Module Viewer utility  (Read 790 times)
admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Module Viewer utility
« Thread started on: Jul 12th, 2010, 2:47pm »

When an error (trapped or not) occurs in your BASIC program the BB4W IDE automatically scrolls the editor window to the relevant place in your code (if necessary) and highlights the statement causing the error. This is an extremely valuable aid to debugging.

Unfortunately, if the error occurred in an INSTALLed module or library the IDE can't show you where it happened. This can be quite a problem, and it encourages writing large monolithic programs rather than splitting them into modules.

I have written a new add-in utility - Module Viewer - which largely overcomes this problem. It extends the BB4W IDE so that it automatically displays the code of INSTALLed or CALLed modules as well as the main program. If an error occurs in one of the modules the faulty line is highlighted. You can even Trace and Single-Step through the modules!

Note that you can't edit the modules from within Module Viewer - you would still have to open a separate IDE for that.

The Module Viewer utility can be downloaded from here (or you can execute it directly from the group's Files area):

http://groups.yahoo.com/group/bb4w/files/Tools/Add_Ins/moduleviewer.exe

As well as being very useful in its own right, this utility illustrates the degree of customisation of the BB4W IDE which is possible, albeit using some extremely hairy code! Module Viewer is written almost entirely in BBC BASIC, with a small amount of assembly language.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls