ZPdebug

!ZPdebug

v0.10 (01 Aug 2024)






Sometimes the only information about an error in a BASIC program are the contents of the machine register values. This is usually after a ZeroPain or Data Abort error, with the R15 PC location within the BASIC module - which is nornally little help.

Without the BASIC line number, diagnosis can be rather difficult and very time consuming.

ZPdebug aims to make this process a little easier. It can extract useful information from ZeroPain log files, and with a few clicks display the likely problem code from a source file or a running task.

This is a first release of this utility, but it is a development of a process that has been used to identify many ZeroPain errors in BASIC programs, so may be of use to others. Any user can run the ZeroPain module to trap errors, which can provide useful information to help developers identify and fix obscure problems in BASIC code.

Please see the RISC OS Open website for details of what ZeroPain errors are, and how to log them.


Examples of ZPdebug Displays



The main ZPdebug window

Main ZPdebug for BASIC window

The Log Extract window

ZP log Extract window



Change History


v0.10 01/08/2024 First public release.


How to obtain ZPdebug



To download please click on !ZPdebug (21 kByte Zip Archive)




E&OE. © Copyright Martin Avison, 2024. Last updated: Thu 1st Aug 2024
Please send any queries or comments to
This site is hosted by Force9 on Plusnet

Valid HTML 4.01 Transitional