Home » Archimedes archive » Acorn Computing » 1994 08 subscription disc.adf » 9408s » Shareware/Event/!ShellDBug/ShellDBug/HelpData

Shareware/Event/!ShellDBug/ShellDBug/HelpData

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn Computing » 1994 08 subscription disc.adf » 9408s
Filename: Shareware/Event/!ShellDBug/ShellDBug/HelpData
Read OK:
File size: 0987 bytes
Load address: 0000
Exec address: 0000
File contents
ShellDBug
This is a simple desktop debugging tool for use
with applications written using the EvntShell
library. All it does is display trace messages
generated by the library code and the user
application.

To display trace info from the user application
use <PROCshell_Tracef0=>EvntShell.PROCshell_Tracef0>. Debugging can be turned
on and off by clicking ADJUST on the iconbar
icon providing the user application has called
PROCshell_TraceInit.

Only one application can be debugged at a time,
starting a new application that has debugging
enabled (with a call to <PROCshell_TraceInit=>EvntShell.PROCshell_TraceInit>) will
clear the message window and display messages
from the new application.Help on ShellDBug
   ShellDBug V1.10

#Indent 2
* <Licence        >*
* <Introduction  =>intro> *
* <Change History=>history> *
* <Next Version  =>nextversion> *
#Indent 0

     Paul HobbsLicence
The ShellDBug program and the EvntShell library
are ShareWare.

This means that you may copy it freely, but not
alter it, or make money on it, and if you find the
program useful you are supposed to <register>!

Note that the !Illusions disk magazine and the
associated Digital Illusions PD library are
specifically forbidden to distribute any part of
the EvntShell library code, or any program developed
using the library code.Registering
With a project as complicated as the EvntShell
library it is inevitable that there will be bugs
and things that don't work as you would like.

If you have problems I will gladly attempt to
solve them and send an update, but this does take
time and cost money. In order to provide this
service I ask for �5.00 (not worth as much as it
was anyway!) as a registration fee for the library
code. This licences you to use the code for any
number of your own projects.

#Indent 12
Paul Hobbs
Rheinpfalzstrasse 2
85049 Ingolstadt
Germany
#Indent 0The Next Version
Hopefully the next version will display
debugging information about the events
currently registered for each window/icon.

Also it should be possible to display
memory areas and variable values on
demand...Change History
1.03 - Adjust click on iconbar icon now turns tracing
       on/off
     - Select click on iconbar icon now opens main
       window
     - Added menu to debug window with 'Clear buffer'
       and 'Save buffer' options
1.04 - Improved redraw speed
     - Added ability to list some events
1.10 - Now uses MenuUtils module for menus
00000000  53 68 65 6c 6c 44 42 75  67 0a 54 68 69 73 20 69  |ShellDBug.This i|
00000010  73 20 61 20 73 69 6d 70  6c 65 20 64 65 73 6b 74  |s a simple deskt|
00000020  6f 70 20 64 65 62 75 67  67 69 6e 67 20 74 6f 6f  |op debugging too|
00000030  6c 20 66 6f 72 20 75 73  65 0a 77 69 74 68 20 61  |l for use.with a|
00000040  70 70 6c 69 63 61 74 69  6f 6e 73 20 77 72 69 74  |pplications writ|
00000050  74 65 6e 20 75 73 69 6e  67 20 74 68 65 20 45 76  |ten using the Ev|
00000060  6e 74 53 68 65 6c 6c 0a  6c 69 62 72 61 72 79 2e  |ntShell.library.|
00000070  20 41 6c 6c 20 69 74 20  64 6f 65 73 20 69 73 20  | All it does is |
00000080  64 69 73 70 6c 61 79 20  74 72 61 63 65 20 6d 65  |display trace me|
00000090  73 73 61 67 65 73 0a 67  65 6e 65 72 61 74 65 64  |ssages.generated|
000000a0  20 62 79 20 74 68 65 20  6c 69 62 72 61 72 79 20  | by the library |
000000b0  63 6f 64 65 20 61 6e 64  20 74 68 65 20 75 73 65  |code and the use|
000000c0  72 0a 61 70 70 6c 69 63  61 74 69 6f 6e 2e 0a 0a  |r.application...|
000000d0  54 6f 20 64 69 73 70 6c  61 79 20 74 72 61 63 65  |To display trace|
000000e0  20 69 6e 66 6f 20 66 72  6f 6d 20 74 68 65 20 75  | info from the u|
000000f0  73 65 72 20 61 70 70 6c  69 63 61 74 69 6f 6e 0a  |ser application.|
00000100  75 73 65 20 3c 50 52 4f  43 73 68 65 6c 6c 5f 54  |use <PROCshell_T|
00000110  72 61 63 65 66 30 3d 3e  45 76 6e 74 53 68 65 6c  |racef0=>EvntShel|
00000120  6c 2e 50 52 4f 43 73 68  65 6c 6c 5f 54 72 61 63  |l.PROCshell_Trac|
00000130  65 66 30 3e 2e 20 44 65  62 75 67 67 69 6e 67 20  |ef0>. Debugging |
00000140  63 61 6e 20 62 65 20 74  75 72 6e 65 64 0a 6f 6e  |can be turned.on|
00000150  20 61 6e 64 20 6f 66 66  20 62 79 20 63 6c 69 63  | and off by clic|
00000160  6b 69 6e 67 20 41 44 4a  55 53 54 20 6f 6e 20 74  |king ADJUST on t|
00000170  68 65 20 69 63 6f 6e 62  61 72 0a 69 63 6f 6e 20  |he iconbar.icon |
00000180  70 72 6f 76 69 64 69 6e  67 20 74 68 65 20 75 73  |providing the us|
00000190  65 72 20 61 70 70 6c 69  63 61 74 69 6f 6e 20 68  |er application h|
000001a0  61 73 20 63 61 6c 6c 65  64 0a 50 52 4f 43 73 68  |as called.PROCsh|
000001b0  65 6c 6c 5f 54 72 61 63  65 49 6e 69 74 2e 0a 0a  |ell_TraceInit...|
000001c0  4f 6e 6c 79 20 6f 6e 65  20 61 70 70 6c 69 63 61  |Only one applica|
000001d0  74 69 6f 6e 20 63 61 6e  20 62 65 20 64 65 62 75  |tion can be debu|
000001e0  67 67 65 64 20 61 74 20  61 20 74 69 6d 65 2c 0a  |gged at a time,.|
000001f0  73 74 61 72 74 69 6e 67  20 61 20 6e 65 77 20 61  |starting a new a|
00000200  70 70 6c 69 63 61 74 69  6f 6e 20 74 68 61 74 20  |pplication that |
00000210  68 61 73 20 64 65 62 75  67 67 69 6e 67 0a 65 6e  |has debugging.en|
00000220  61 62 6c 65 64 20 28 77  69 74 68 20 61 20 63 61  |abled (with a ca|
00000230  6c 6c 20 74 6f 20 3c 50  52 4f 43 73 68 65 6c 6c  |ll to <PROCshell|
00000240  5f 54 72 61 63 65 49 6e  69 74 3d 3e 45 76 6e 74  |_TraceInit=>Evnt|
00000250  53 68 65 6c 6c 2e 50 52  4f 43 73 68 65 6c 6c 5f  |Shell.PROCshell_|
00000260  54 72 61 63 65 49 6e 69  74 3e 29 20 77 69 6c 6c  |TraceInit>) will|
00000270  0a 63 6c 65 61 72 20 74  68 65 20 6d 65 73 73 61  |.clear the messa|
00000280  67 65 20 77 69 6e 64 6f  77 20 61 6e 64 20 64 69  |ge window and di|
00000290  73 70 6c 61 79 20 6d 65  73 73 61 67 65 73 0a 66  |splay messages.f|
000002a0  72 6f 6d 20 74 68 65 20  6e 65 77 20 61 70 70 6c  |rom the new appl|
000002b0  69 63 61 74 69 6f 6e 2e  48 65 6c 70 20 6f 6e 20  |ication.Help on |
000002c0  53 68 65 6c 6c 44 42 75  67 0a 20 20 20 53 68 65  |ShellDBug.   She|
000002d0  6c 6c 44 42 75 67 20 56  31 2e 31 30 0a 0a 23 49  |llDBug V1.10..#I|
000002e0  6e 64 65 6e 74 20 32 0a  2a 20 3c 4c 69 63 65 6e  |ndent 2.* <Licen|
000002f0  63 65 20 20 20 20 20 20  20 20 3e 2a 0a 2a 20 3c  |ce        >*.* <|
00000300  49 6e 74 72 6f 64 75 63  74 69 6f 6e 20 20 3d 3e  |Introduction  =>|
00000310  69 6e 74 72 6f 3e 20 2a  0a 2a 20 3c 43 68 61 6e  |intro> *.* <Chan|
00000320  67 65 20 48 69 73 74 6f  72 79 3d 3e 68 69 73 74  |ge History=>hist|
00000330  6f 72 79 3e 20 2a 0a 2a  20 3c 4e 65 78 74 20 56  |ory> *.* <Next V|
00000340  65 72 73 69 6f 6e 20 20  3d 3e 6e 65 78 74 76 65  |ersion  =>nextve|
00000350  72 73 69 6f 6e 3e 20 2a  0a 23 49 6e 64 65 6e 74  |rsion> *.#Indent|
00000360  20 30 0a 0a 20 20 20 20  20 50 61 75 6c 20 48 6f  | 0..     Paul Ho|
00000370  62 62 73 4c 69 63 65 6e  63 65 0a 54 68 65 20 53  |bbsLicence.The S|
00000380  68 65 6c 6c 44 42 75 67  20 70 72 6f 67 72 61 6d  |hellDBug program|
00000390  20 61 6e 64 20 74 68 65  20 45 76 6e 74 53 68 65  | and the EvntShe|
000003a0  6c 6c 20 6c 69 62 72 61  72 79 0a 61 72 65 20 53  |ll library.are S|
000003b0  68 61 72 65 57 61 72 65  2e 0a 0a 54 68 69 73 20  |hareWare...This |
000003c0  6d 65 61 6e 73 20 74 68  61 74 20 79 6f 75 20 6d  |means that you m|
000003d0  61 79 20 63 6f 70 79 20  69 74 20 66 72 65 65 6c  |ay copy it freel|
000003e0  79 2c 20 62 75 74 20 6e  6f 74 0a 61 6c 74 65 72  |y, but not.alter|
000003f0  20 69 74 2c 20 6f 72 20  6d 61 6b 65 20 6d 6f 6e  | it, or make mon|
00000400  65 79 20 6f 6e 20 69 74  2c 20 61 6e 64 20 69 66  |ey on it, and if|
00000410  20 79 6f 75 20 66 69 6e  64 20 74 68 65 0a 70 72  | you find the.pr|
00000420  6f 67 72 61 6d 20 75 73  65 66 75 6c 20 79 6f 75  |ogram useful you|
00000430  20 61 72 65 20 73 75 70  70 6f 73 65 64 20 74 6f  | are supposed to|
00000440  20 3c 72 65 67 69 73 74  65 72 3e 21 0a 0a 4e 6f  | <register>!..No|
00000450  74 65 20 74 68 61 74 20  74 68 65 20 21 49 6c 6c  |te that the !Ill|
00000460  75 73 69 6f 6e 73 20 64  69 73 6b 20 6d 61 67 61  |usions disk maga|
00000470  7a 69 6e 65 20 61 6e 64  20 74 68 65 0a 61 73 73  |zine and the.ass|
00000480  6f 63 69 61 74 65 64 20  44 69 67 69 74 61 6c 20  |ociated Digital |
00000490  49 6c 6c 75 73 69 6f 6e  73 20 50 44 20 6c 69 62  |Illusions PD lib|
000004a0  72 61 72 79 20 61 72 65  0a 73 70 65 63 69 66 69  |rary are.specifi|
000004b0  63 61 6c 6c 79 20 66 6f  72 62 69 64 64 65 6e 20  |cally forbidden |
000004c0  74 6f 20 64 69 73 74 72  69 62 75 74 65 20 61 6e  |to distribute an|
000004d0  79 20 70 61 72 74 20 6f  66 0a 74 68 65 20 45 76  |y part of.the Ev|
000004e0  6e 74 53 68 65 6c 6c 20  6c 69 62 72 61 72 79 20  |ntShell library |
000004f0  63 6f 64 65 2c 20 6f 72  20 61 6e 79 20 70 72 6f  |code, or any pro|
00000500  67 72 61 6d 20 64 65 76  65 6c 6f 70 65 64 0a 75  |gram developed.u|
00000510  73 69 6e 67 20 74 68 65  20 6c 69 62 72 61 72 79  |sing the library|
00000520  20 63 6f 64 65 2e 52 65  67 69 73 74 65 72 69 6e  | code.Registerin|
00000530  67 0a 57 69 74 68 20 61  20 70 72 6f 6a 65 63 74  |g.With a project|
00000540  20 61 73 20 63 6f 6d 70  6c 69 63 61 74 65 64 20  | as complicated |
00000550  61 73 20 74 68 65 20 45  76 6e 74 53 68 65 6c 6c  |as the EvntShell|
00000560  0a 6c 69 62 72 61 72 79  20 69 74 20 69 73 20 69  |.library it is i|
00000570  6e 65 76 69 74 61 62 6c  65 20 74 68 61 74 20 74  |nevitable that t|
00000580  68 65 72 65 20 77 69 6c  6c 20 62 65 20 62 75 67  |here will be bug|
00000590  73 0a 61 6e 64 20 74 68  69 6e 67 73 20 74 68 61  |s.and things tha|
000005a0  74 20 64 6f 6e 27 74 20  77 6f 72 6b 20 61 73 20  |t don't work as |
000005b0  79 6f 75 20 77 6f 75 6c  64 20 6c 69 6b 65 2e 0a  |you would like..|
000005c0  0a 49 66 20 79 6f 75 20  68 61 76 65 20 70 72 6f  |.If you have pro|
000005d0  62 6c 65 6d 73 20 49 20  77 69 6c 6c 20 67 6c 61  |blems I will gla|
000005e0  64 6c 79 20 61 74 74 65  6d 70 74 20 74 6f 0a 73  |dly attempt to.s|
000005f0  6f 6c 76 65 20 74 68 65  6d 20 61 6e 64 20 73 65  |olve them and se|
00000600  6e 64 20 61 6e 20 75 70  64 61 74 65 2c 20 62 75  |nd an update, bu|
00000610  74 20 74 68 69 73 20 64  6f 65 73 20 74 61 6b 65  |t this does take|
00000620  0a 74 69 6d 65 20 61 6e  64 20 63 6f 73 74 20 6d  |.time and cost m|
00000630  6f 6e 65 79 2e 20 49 6e  20 6f 72 64 65 72 20 74  |oney. In order t|
00000640  6f 20 70 72 6f 76 69 64  65 20 74 68 69 73 0a 73  |o provide this.s|
00000650  65 72 76 69 63 65 20 49  20 61 73 6b 20 66 6f 72  |ervice I ask for|
00000660  20 a3 35 2e 30 30 20 28  6e 6f 74 20 77 6f 72 74  | .5.00 (not wort|
00000670  68 20 61 73 20 6d 75 63  68 20 61 73 20 69 74 0a  |h as much as it.|
00000680  77 61 73 20 61 6e 79 77  61 79 21 29 20 61 73 20  |was anyway!) as |
00000690  61 20 72 65 67 69 73 74  72 61 74 69 6f 6e 20 66  |a registration f|
000006a0  65 65 20 66 6f 72 20 74  68 65 20 6c 69 62 72 61  |ee for the libra|
000006b0  72 79 0a 63 6f 64 65 2e  20 54 68 69 73 20 6c 69  |ry.code. This li|
000006c0  63 65 6e 63 65 73 20 79  6f 75 20 74 6f 20 75 73  |cences you to us|
000006d0  65 20 74 68 65 20 63 6f  64 65 20 66 6f 72 20 61  |e the code for a|
000006e0  6e 79 0a 6e 75 6d 62 65  72 20 6f 66 20 79 6f 75  |ny.number of you|
000006f0  72 20 6f 77 6e 20 70 72  6f 6a 65 63 74 73 2e 0a  |r own projects..|
00000700  0a 23 49 6e 64 65 6e 74  20 31 32 0a 50 61 75 6c  |.#Indent 12.Paul|
00000710  20 48 6f 62 62 73 0a 52  68 65 69 6e 70 66 61 6c  | Hobbs.Rheinpfal|
00000720  7a 73 74 72 61 73 73 65  20 32 0a 38 35 30 34 39  |zstrasse 2.85049|
00000730  20 49 6e 67 6f 6c 73 74  61 64 74 0a 47 65 72 6d  | Ingolstadt.Germ|
00000740  61 6e 79 0a 23 49 6e 64  65 6e 74 20 30 54 68 65  |any.#Indent 0The|
00000750  20 4e 65 78 74 20 56 65  72 73 69 6f 6e 0a 48 6f  | Next Version.Ho|
00000760  70 65 66 75 6c 6c 79 20  74 68 65 20 6e 65 78 74  |pefully the next|
00000770  20 76 65 72 73 69 6f 6e  20 77 69 6c 6c 20 64 69  | version will di|
00000780  73 70 6c 61 79 0a 64 65  62 75 67 67 69 6e 67 20  |splay.debugging |
00000790  69 6e 66 6f 72 6d 61 74  69 6f 6e 20 61 62 6f 75  |information abou|
000007a0  74 20 74 68 65 20 65 76  65 6e 74 73 0a 63 75 72  |t the events.cur|
000007b0  72 65 6e 74 6c 79 20 72  65 67 69 73 74 65 72 65  |rently registere|
000007c0  64 20 66 6f 72 20 65 61  63 68 20 77 69 6e 64 6f  |d for each windo|
000007d0  77 2f 69 63 6f 6e 2e 0a  0a 41 6c 73 6f 20 69 74  |w/icon...Also it|
000007e0  20 73 68 6f 75 6c 64 20  62 65 20 70 6f 73 73 69  | should be possi|
000007f0  62 6c 65 20 74 6f 20 64  69 73 70 6c 61 79 0a 6d  |ble to display.m|
00000800  65 6d 6f 72 79 20 61 72  65 61 73 20 61 6e 64 20  |emory areas and |
00000810  76 61 72 69 61 62 6c 65  20 76 61 6c 75 65 73 20  |variable values |
00000820  6f 6e 0a 64 65 6d 61 6e  64 2e 2e 2e 43 68 61 6e  |on.demand...Chan|
00000830  67 65 20 48 69 73 74 6f  72 79 0a 31 2e 30 33 20  |ge History.1.03 |
00000840  2d 20 41 64 6a 75 73 74  20 63 6c 69 63 6b 20 6f  |- Adjust click o|
00000850  6e 20 69 63 6f 6e 62 61  72 20 69 63 6f 6e 20 6e  |n iconbar icon n|
00000860  6f 77 20 74 75 72 6e 73  20 74 72 61 63 69 6e 67  |ow turns tracing|
00000870  0a 20 20 20 20 20 20 20  6f 6e 2f 6f 66 66 0a 20  |.       on/off. |
00000880  20 20 20 20 2d 20 53 65  6c 65 63 74 20 63 6c 69  |    - Select cli|
00000890  63 6b 20 6f 6e 20 69 63  6f 6e 62 61 72 20 69 63  |ck on iconbar ic|
000008a0  6f 6e 20 6e 6f 77 20 6f  70 65 6e 73 20 6d 61 69  |on now opens mai|
000008b0  6e 0a 20 20 20 20 20 20  20 77 69 6e 64 6f 77 0a  |n.       window.|
000008c0  20 20 20 20 20 2d 20 41  64 64 65 64 20 6d 65 6e  |     - Added men|
000008d0  75 20 74 6f 20 64 65 62  75 67 20 77 69 6e 64 6f  |u to debug windo|
000008e0  77 20 77 69 74 68 20 27  43 6c 65 61 72 20 62 75  |w with 'Clear bu|
000008f0  66 66 65 72 27 0a 20 20  20 20 20 20 20 61 6e 64  |ffer'.       and|
00000900  20 27 53 61 76 65 20 62  75 66 66 65 72 27 20 6f  | 'Save buffer' o|
00000910  70 74 69 6f 6e 73 0a 31  2e 30 34 20 2d 20 49 6d  |ptions.1.04 - Im|
00000920  70 72 6f 76 65 64 20 72  65 64 72 61 77 20 73 70  |proved redraw sp|
00000930  65 65 64 0a 20 20 20 20  20 2d 20 41 64 64 65 64  |eed.     - Added|
00000940  20 61 62 69 6c 69 74 79  20 74 6f 20 6c 69 73 74  | ability to list|
00000950  20 73 6f 6d 65 20 65 76  65 6e 74 73 0a 31 2e 31  | some events.1.1|
00000960  30 20 2d 20 4e 6f 77 20  75 73 65 73 20 4d 65 6e  |0 - Now uses Men|
00000970  75 55 74 69 6c 73 20 6d  6f 64 75 6c 65 20 66 6f  |uUtils module fo|
00000980  72 20 6d 65 6e 75 73                              |r menus|
00000987