home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
418.lha
/
woodward
/
woodward.doc
< prev
next >
Wrap
Text File
|
1990-08-06
|
2KB
|
50 lines
[BEEP] Auxilliary external data input file file not found [BEEP]
[BEEP] Terminating with extreme prejudice [BEEP] [GURU]
``What?'' Joe Hacker recoils in disbelief. ``It didn't even tell
me the name of the file it couldn't find? Now where did I put
that 12-gauge debugging tool?''
Ah, Joe, relax. Your salvation is at hand. No longer need you
take out such frustrations on the family iguana or even your spouse.
<WOODWARD> the program is here! <WOODWARD> uncovers those files
opened in the darkest chips of the silicon night and exposes them
public scrutiny. No longer can your software use the Reagan defense
(I don't remember) or the Nixon excuse (I am not a crook); no Fawn
Hall will shred these files!
<WOODWARD> observes every action taken by the monitored program
and reports back to you, J. Edgar Hoover, the name of each file
opened and whether it is opened for reading or for writing. And
it is smaller and easier to use than a cheap handgun purchased
in memory of Jodie Foster!
woodward [-o filename] [-d delay] command [args]
Simply type `woodward' followed by the command you want to monitor,
and a window will be opened that will display the names of each file
opened and whether the open was successful or not. You can specify
the name of an alternate output file. You can also specify a delay
to execute between each file---this can be useful for debugging if
the program crashes; you will see each file opened until it crashes.
The delay units are in fiftieths of a second.
By default, the program will delay for two seconds after the main
command finishes, so you can quickly read the output window. If you
specify an output file, this delay is supressed. This delay is
separate from the optional delay argument described above.
I plan to distribute this program with all of my commercial software
from here on out; I will request the user to send me the output from
this program when reporting a bug, so I will know precisely which files
are being opened.
Thanks to Leo Schwab (for a process creation example) and to Phillip
Lindsay (for a packet wait example), both of which were instrumental
in the creation of this program.
Tom Rokicki
Radical Eye Software
BIX: radical.eye BBS: (415) 32-RADIO
SNAIL: Box 2081 Stanford, CA 94309