home *** CD-ROM | disk | FTP | other *** search
- For those of you (like myself) who aren't C experts, here are a few notes
- on the use of TBUG.
-
- To incorporate the debugger into your code just include the line:
-
- debug_init ();
-
- It can be most anywhere in the code, but Gary Mellor (the author) suggests
- putting the line near the beginning of the program.
-
- I used the command line version with the following parameters to include the
- debugger in HELLO.C. This assumes that you've set up the directory structure
- as recommended in the TurboC manual. If you've used different names for the
- include and lib subdirectories, make the appropriate changes in the following
- command line:
-
- C:\TURBOC>tcc -y -ms -M -I.\include -L.\lib hello tbug.obj
-
- If you want to make any changes to the debugger, recompile it to .OBJ with
- the following line:
-
- C:\TURBOC>tcc -y -ms -c -I.\include -L.\lib tbug
-
- Your new version of TBUG.OBJ will then be ready for use.
-
- Enjoy!
- Larry Fogg - Micro Cornucopia
-
-
- For more information on the debugger, see the article on page 54 in the
- March/April 1988 issue of Micro Cornucopia. You can order that
- issue (while they last) for $3.95 (postpaid, U.S.) from Micro
- Cornucopia, 1-800-888-8087.
-
- _______________________________
- | |
- | The Micro Technical Journal |
- | Micro Cornucopia |
- | (March/April 1988) |
- | |
- | 11 C Compilers Compared |
- | Writing A Simple Parser |
- | Introduction to C++ |
- | Debugger For Turbo C |
- | Fast New AI Language |
- | Inside the PC's PPI Chip |
- | Advertising Your New Product|
- | Turbo Pascal 4.0 |
- | And much, much more |
- |_____________________________|
-
- Each issue of Micro Cornucopia is packed with information
- for the software and hardware designer. We're technical but
- not stuffy.
-
- ------
-
- Our readers say:
-
- "You're the Mother Earth News of the computer world."
-
- "I read every word of every issue."
-
- "It's really fun to read, I've dropped all the rest because
- they're deadly dull."
-
- "You've got credibility. Keep saying it like it is."
-
- ------
-
- Coming up:
-
- Servicing your XT/AT.
- Many problems diagnose themselves if you know what to look for.
-
- The Great Database Issue.
- Who's adding AI functions to their report generators? (& does it matter?)
- Linking C code into standard database packages
- (Who's got the hooks and where are they?)
- A C routine (with source) which writes screens for dBASE
- Which database packages work best?
-
- ------
-
- Hardware design:
-
- Unlike a lot of other publications we're not just software.
- Want to monitor or control the outside world?
- Want to build a printer buffer?
- Want the latest on inexpensive boards or complete systems?
-
-
- ------
-
- To Subscribe:
-
- Send $18 (for one year, 6 issues) to:
-
- Micro Cornucopia
- PO Box 223
- Bend, Oregon 97709
-
- or call our order line:
-
- 1-800-888-8087
-
- visa & mastercard
-