PBWatcher unit. ------------------------------ Author: Poul Bak Copyright © 2000 : BakSoft-Denmark (Poul Bak). All rights reserved. http://home11.inet.tele.dk/BakSoft/ Mailto: baksoft-denmark@dk2net.dk Version: 1.30.00.00 PBWatcher is a supplement to the Delphi Watch debugger. Watch variables and expressions inside/outside the Delphi environment at both runtime and designtime with/without breakpoints. Use it anywhere in your code, even before any forms are created. Easy to use with AutoAdd Watches (writes the necessary code for you and cleans up afterwards). It can show names and values of many variables simultaniously in a window, that acts both as output window and input via menus. At designtime it acts as a Delphi add-on and at runtime it acts as an add-on to your application. Settings are automatically saved and loaded. Save/load/print and search the watchlog. AutoSave. View one line per variable or add continuously. Change settings (show/hide watchwindow, enable etc.) at designtime/runtime. Watch for instance local variables and timerevents realtime without breakpoints. Debug your components designtime/runtime interface. Help-file is included. How to use: Add PBWatch to the uses clause. Use AutoAdd to fill in the code. Compile and run your program. That's enough - use the other properties as you like. Legal stuff: ------------ PBWatcher is Freeware. Use it any way, you like. There is no timelimit or 'nag-screens'. Applications developed using this unit are yours alone, Baksoft-Denmark has no rights to it. PBWatcher is provided 'as-is' and Baksoft-Denmark is under no circumstances responsible for any damage, what soever, that it might cause to anyone or anything. Installation: ------------- 1. Unzip all files to a folder of your choice. 2. Start Delphi (if you haven't done so). 3. Choose menu 'Component', 'Install Component...', browse to the folder that contains the unzipped files, choose PBWatcher.pas' and open the file. Press 'Ok'. Press 'Yes' to confirm rebuild. PBWatcher is now Registered. Close the window (save the changes). Now you should have the PBWatcher window visible. Help file installation: If the menu 'Help' in the PBWatcher window is enabled (not grayed out), the help file is located and you don't have to do further - click the menu to get help. Otherwise: If you have HTML help installed on your computer, copy 'PBWatcher.chm' to your \Window\Help folder and restart Delphi. If you don't have HTML help installed on your computer, either get it (it's free) from Microsoft or get the uncompiled helpfile from my website. -------------------------------- I have included a small demo: Project1.exe to show the basics. Load, compile and run. If you find any bugs, have any great ideas or just a comment or question, feel free to e-mail.