Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/!ShellDBug/Resources/UK/ShellDBug/HelpData
!AWJan95/Goodies/Event/!ShellDBug/Resources/UK/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 » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 |
Filename: | !AWJan95/Goodies/Event/!ShellDBug/Resources/UK/ShellDBug/HelpData |
Read OK: | ✔ |
File size: | 0A51 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 #indent 5 #Sprite 0,0 !shelldbug ShellDBug V1.11 #indent 0 --------------------- #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 1.11 - Now disallows a second copy to reduce confusion - ShellDBug may now be started after the task which is being debugged
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 23 69 6e 64 65 6e |ShellDBug.#inden| 000002d0 74 20 35 0a 23 53 70 72 69 74 65 20 30 2c 30 20 |t 5.#Sprite 0,0 | 000002e0 21 73 68 65 6c 6c 64 62 75 67 0a 20 53 68 65 6c |!shelldbug. Shel| 000002f0 6c 44 42 75 67 0a 20 20 20 56 31 2e 31 31 0a 23 |lDBug. V1.11.#| 00000300 69 6e 64 65 6e 74 20 30 0a 2d 2d 2d 2d 2d 2d 2d |indent 0.-------| 00000310 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 23 |--------------.#| 00000320 49 6e 64 65 6e 74 20 32 0a 2a 20 3c 4c 69 63 65 |Indent 2.* <Lice| 00000330 6e 63 65 20 20 20 20 20 20 20 20 3e 2a 0a 2a 20 |nce >*.* | 00000340 3c 49 6e 74 72 6f 64 75 63 74 69 6f 6e 20 20 3d |<Introduction =| 00000350 3e 69 6e 74 72 6f 3e 20 2a 0a 2a 20 3c 43 68 61 |>intro> *.* <Cha| 00000360 6e 67 65 20 48 69 73 74 6f 72 79 3d 3e 68 69 73 |nge History=>his| 00000370 74 6f 72 79 3e 20 2a 0a 2a 20 3c 4e 65 78 74 20 |tory> *.* <Next | 00000380 56 65 72 73 69 6f 6e 20 20 3d 3e 6e 65 78 74 76 |Version =>nextv| 00000390 65 72 73 69 6f 6e 3e 20 2a 0a 23 49 6e 64 65 6e |ersion> *.#Inden| 000003a0 74 20 30 0a 0a 20 20 20 20 20 50 61 75 6c 20 48 |t 0.. Paul H| 000003b0 6f 62 62 73 4c 69 63 65 6e 63 65 0a 54 68 65 20 |obbsLicence.The | 000003c0 53 68 65 6c 6c 44 42 75 67 20 70 72 6f 67 72 61 |ShellDBug progra| 000003d0 6d 20 61 6e 64 20 74 68 65 20 45 76 6e 74 53 68 |m and the EvntSh| 000003e0 65 6c 6c 20 6c 69 62 72 61 72 79 0a 61 72 65 20 |ell library.are | 000003f0 53 68 61 72 65 57 61 72 65 2e 0a 0a 54 68 69 73 |ShareWare...This| 00000400 20 6d 65 61 6e 73 20 74 68 61 74 20 79 6f 75 20 | means that you | 00000410 6d 61 79 20 63 6f 70 79 20 69 74 20 66 72 65 65 |may copy it free| 00000420 6c 79 2c 20 62 75 74 20 6e 6f 74 0a 61 6c 74 65 |ly, but not.alte| 00000430 72 20 69 74 2c 20 6f 72 20 6d 61 6b 65 20 6d 6f |r it, or make mo| 00000440 6e 65 79 20 6f 6e 20 69 74 2c 20 61 6e 64 20 69 |ney on it, and i| 00000450 66 20 79 6f 75 20 66 69 6e 64 20 74 68 65 0a 70 |f you find the.p| 00000460 72 6f 67 72 61 6d 20 75 73 65 66 75 6c 20 79 6f |rogram useful yo| 00000470 75 20 61 72 65 20 73 75 70 70 6f 73 65 64 20 74 |u are supposed t| 00000480 6f 20 3c 72 65 67 69 73 74 65 72 3e 21 0a 0a 4e |o <register>!..N| 00000490 6f 74 65 20 74 68 61 74 20 74 68 65 20 21 49 6c |ote that the !Il| 000004a0 6c 75 73 69 6f 6e 73 20 64 69 73 6b 20 6d 61 67 |lusions disk mag| 000004b0 61 7a 69 6e 65 20 61 6e 64 20 74 68 65 0a 61 73 |azine and the.as| 000004c0 73 6f 63 69 61 74 65 64 20 44 69 67 69 74 61 6c |sociated Digital| 000004d0 20 49 6c 6c 75 73 69 6f 6e 73 20 50 44 20 6c 69 | Illusions PD li| 000004e0 62 72 61 72 79 20 61 72 65 0a 73 70 65 63 69 66 |brary are.specif| 000004f0 69 63 61 6c 6c 79 20 66 6f 72 62 69 64 64 65 6e |ically forbidden| 00000500 20 74 6f 20 64 69 73 74 72 69 62 75 74 65 20 61 | to distribute a| 00000510 6e 79 20 70 61 72 74 20 6f 66 0a 74 68 65 20 45 |ny part of.the E| 00000520 76 6e 74 53 68 65 6c 6c 20 6c 69 62 72 61 72 79 |vntShell library| 00000530 20 63 6f 64 65 2c 20 6f 72 20 61 6e 79 20 70 72 | code, or any pr| 00000540 6f 67 72 61 6d 20 64 65 76 65 6c 6f 70 65 64 0a |ogram developed.| 00000550 75 73 69 6e 67 20 74 68 65 20 6c 69 62 72 61 72 |using the librar| 00000560 79 20 63 6f 64 65 2e 52 65 67 69 73 74 65 72 69 |y code.Registeri| 00000570 6e 67 0a 57 69 74 68 20 61 20 70 72 6f 6a 65 63 |ng.With a projec| 00000580 74 20 61 73 20 63 6f 6d 70 6c 69 63 61 74 65 64 |t as complicated| 00000590 20 61 73 20 74 68 65 20 45 76 6e 74 53 68 65 6c | as the EvntShel| 000005a0 6c 0a 6c 69 62 72 61 72 79 20 69 74 20 69 73 20 |l.library it is | 000005b0 69 6e 65 76 69 74 61 62 6c 65 20 74 68 61 74 20 |inevitable that | 000005c0 74 68 65 72 65 20 77 69 6c 6c 20 62 65 20 62 75 |there will be bu| 000005d0 67 73 0a 61 6e 64 20 74 68 69 6e 67 73 20 74 68 |gs.and things th| 000005e0 61 74 20 64 6f 6e 27 74 20 77 6f 72 6b 20 61 73 |at don't work as| 000005f0 20 79 6f 75 20 77 6f 75 6c 64 20 6c 69 6b 65 2e | you would like.| 00000600 0a 0a 49 66 20 79 6f 75 20 68 61 76 65 20 70 72 |..If you have pr| 00000610 6f 62 6c 65 6d 73 20 49 20 77 69 6c 6c 20 67 6c |oblems I will gl| 00000620 61 64 6c 79 20 61 74 74 65 6d 70 74 20 74 6f 0a |adly attempt to.| 00000630 73 6f 6c 76 65 20 74 68 65 6d 20 61 6e 64 20 73 |solve them and s| 00000640 65 6e 64 20 61 6e 20 75 70 64 61 74 65 2c 20 62 |end an update, b| 00000650 75 74 20 74 68 69 73 20 64 6f 65 73 20 74 61 6b |ut this does tak| 00000660 65 0a 74 69 6d 65 20 61 6e 64 20 63 6f 73 74 20 |e.time and cost | 00000670 6d 6f 6e 65 79 2e 20 49 6e 20 6f 72 64 65 72 20 |money. In order | 00000680 74 6f 20 70 72 6f 76 69 64 65 20 74 68 69 73 0a |to provide this.| 00000690 73 65 72 76 69 63 65 20 49 20 61 73 6b 20 66 6f |service I ask fo| 000006a0 72 20 a3 35 2e 30 30 20 28 6e 6f 74 20 77 6f 72 |r .5.00 (not wor| 000006b0 74 68 20 61 73 20 6d 75 63 68 20 61 73 20 69 74 |th as much as it| 000006c0 0a 77 61 73 20 61 6e 79 77 61 79 21 29 20 61 73 |.was anyway!) as| 000006d0 20 61 20 72 65 67 69 73 74 72 61 74 69 6f 6e 20 | a registration | 000006e0 66 65 65 20 66 6f 72 20 74 68 65 20 6c 69 62 72 |fee for the libr| 000006f0 61 72 79 0a 63 6f 64 65 2e 20 54 68 69 73 20 6c |ary.code. This l| 00000700 69 63 65 6e 63 65 73 20 79 6f 75 20 74 6f 20 75 |icences you to u| 00000710 73 65 20 74 68 65 20 63 6f 64 65 20 66 6f 72 20 |se the code for | 00000720 61 6e 79 0a 6e 75 6d 62 65 72 20 6f 66 20 79 6f |any.number of yo| 00000730 75 72 20 6f 77 6e 20 70 72 6f 6a 65 63 74 73 2e |ur own projects.| 00000740 0a 0a 23 49 6e 64 65 6e 74 20 31 32 0a 50 61 75 |..#Indent 12.Pau| 00000750 6c 20 48 6f 62 62 73 0a 52 68 65 69 6e 70 66 61 |l Hobbs.Rheinpfa| 00000760 6c 7a 73 74 72 61 73 73 65 20 32 0a 38 35 30 34 |lzstrasse 2.8504| 00000770 39 20 49 6e 67 6f 6c 73 74 61 64 74 0a 47 65 72 |9 Ingolstadt.Ger| 00000780 6d 61 6e 79 0a 23 49 6e 64 65 6e 74 20 30 54 68 |many.#Indent 0Th| 00000790 65 20 4e 65 78 74 20 56 65 72 73 69 6f 6e 0a 48 |e Next Version.H| 000007a0 6f 70 65 66 75 6c 6c 79 20 74 68 65 20 6e 65 78 |opefully the nex| 000007b0 74 20 76 65 72 73 69 6f 6e 20 77 69 6c 6c 20 64 |t version will d| 000007c0 69 73 70 6c 61 79 0a 64 65 62 75 67 67 69 6e 67 |isplay.debugging| 000007d0 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 61 62 6f | information abo| 000007e0 75 74 20 74 68 65 20 65 76 65 6e 74 73 0a 63 75 |ut the events.cu| 000007f0 72 72 65 6e 74 6c 79 20 72 65 67 69 73 74 65 72 |rrently register| 00000800 65 64 20 66 6f 72 20 65 61 63 68 20 77 69 6e 64 |ed for each wind| 00000810 6f 77 2f 69 63 6f 6e 2e 0a 0a 41 6c 73 6f 20 69 |ow/icon...Also i| 00000820 74 20 73 68 6f 75 6c 64 20 62 65 20 70 6f 73 73 |t should be poss| 00000830 69 62 6c 65 20 74 6f 20 64 69 73 70 6c 61 79 0a |ible to display.| 00000840 6d 65 6d 6f 72 79 20 61 72 65 61 73 20 61 6e 64 |memory areas and| 00000850 20 76 61 72 69 61 62 6c 65 20 76 61 6c 75 65 73 | variable values| 00000860 20 6f 6e 0a 64 65 6d 61 6e 64 2e 2e 2e 43 68 61 | on.demand...Cha| 00000870 6e 67 65 20 48 69 73 74 6f 72 79 0a 31 2e 30 33 |nge History.1.03| 00000880 20 2d 20 41 64 6a 75 73 74 20 63 6c 69 63 6b 20 | - Adjust click | 00000890 6f 6e 20 69 63 6f 6e 62 61 72 20 69 63 6f 6e 20 |on iconbar icon | 000008a0 6e 6f 77 20 74 75 72 6e 73 20 74 72 61 63 69 6e |now turns tracin| 000008b0 67 0a 20 20 20 20 20 20 20 6f 6e 2f 6f 66 66 0a |g. on/off.| 000008c0 20 20 20 20 20 2d 20 53 65 6c 65 63 74 20 63 6c | - Select cl| 000008d0 69 63 6b 20 6f 6e 20 69 63 6f 6e 62 61 72 20 69 |ick on iconbar i| 000008e0 63 6f 6e 20 6e 6f 77 20 6f 70 65 6e 73 20 6d 61 |con now opens ma| 000008f0 69 6e 0a 20 20 20 20 20 20 20 77 69 6e 64 6f 77 |in. window| 00000900 0a 20 20 20 20 20 2d 20 41 64 64 65 64 20 6d 65 |. - Added me| 00000910 6e 75 20 74 6f 20 64 65 62 75 67 20 77 69 6e 64 |nu to debug wind| 00000920 6f 77 20 77 69 74 68 20 27 43 6c 65 61 72 20 62 |ow with 'Clear b| 00000930 75 66 66 65 72 27 0a 20 20 20 20 20 20 20 61 6e |uffer'. an| 00000940 64 20 27 53 61 76 65 20 62 75 66 66 65 72 27 20 |d 'Save buffer' | 00000950 6f 70 74 69 6f 6e 73 0a 31 2e 30 34 20 2d 20 49 |options.1.04 - I| 00000960 6d 70 72 6f 76 65 64 20 72 65 64 72 61 77 20 73 |mproved redraw s| 00000970 70 65 65 64 0a 20 20 20 20 20 2d 20 41 64 64 65 |peed. - Adde| 00000980 64 20 61 62 69 6c 69 74 79 20 74 6f 20 6c 69 73 |d ability to lis| 00000990 74 20 73 6f 6d 65 20 65 76 65 6e 74 73 0a 31 2e |t some events.1.| 000009a0 31 30 20 2d 20 4e 6f 77 20 75 73 65 73 20 4d 65 |10 - Now uses Me| 000009b0 6e 75 55 74 69 6c 73 20 6d 6f 64 75 6c 65 20 66 |nuUtils module f| 000009c0 6f 72 20 6d 65 6e 75 73 0a 31 2e 31 31 20 2d 20 |or menus.1.11 - | 000009d0 4e 6f 77 20 64 69 73 61 6c 6c 6f 77 73 20 61 20 |Now disallows a | 000009e0 73 65 63 6f 6e 64 20 63 6f 70 79 20 74 6f 20 72 |second copy to r| 000009f0 65 64 75 63 65 20 63 6f 6e 66 75 73 69 6f 6e 0a |educe confusion.| 00000a00 20 20 20 20 20 2d 20 53 68 65 6c 6c 44 42 75 67 | - ShellDBug| 00000a10 20 6d 61 79 20 6e 6f 77 20 62 65 20 73 74 61 72 | may now be star| 00000a20 74 65 64 20 61 66 74 65 72 20 74 68 65 20 74 61 |ted after the ta| 00000a30 73 6b 20 77 68 69 63 68 0a 20 20 20 20 20 20 20 |sk which. | 00000a40 69 73 20 62 65 69 6e 67 20 64 65 62 75 67 67 65 |is being debugge| 00000a50 64 |d| 00000a51