home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / pascal / 5247 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.4 KB

  1. Path: sparky!uunet!zephyr.ens.tek.com!psgrain!qiclab!leonard
  2. From: leonard@qiclab.scn.rain.com (Leonard Erickson)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: New Idea!
  5. Message-ID: <1992Sep8.185851.11309@qiclab.scn.rain.com>
  6. Date: 8 Sep 92 18:58:51 GMT
  7. References: <188jleINNcn6@matt.ksu.ksu.edu>
  8. Reply-To: 70465.203@compuserve.com
  9. Organization: SCN Research/Qic Laboratories of Tigard, Oregon.
  10. Lines: 28
  11.  
  12. holland@matt.ksu.ksu.edu (Rich Holland) writes:
  13.  
  14. >I've got a rather large program which is spread out through around 10
  15. >units, and over 6500 lines of code.  When it crashes mysteriously, I
  16. >get a message like this:
  17.  
  18. >  Runtime error 105 at 0052:03A3
  19.  
  20. >I can then look at 'PROG.MAP' (the map file I told it to generate) and
  21. >search for '0052:03A3' and get a line number.  Then, I have to page
  22. >back through the map file a few pages, usually, and find the Unit name
  23. >the line number is in.  Then, I go into Qedit and PgDn until I get to
  24. >that line number.
  25.  
  26. Try:
  27.     TPC <mainprog> /f0052:03a3
  28.  
  29. That will automatically tell you *which* file the error is in, which
  30. line in that file, and display the line!
  31.  
  32. Also, if you use Norton Editor, you just give a commandline argument to
  33. tell it which line in the file to go to.
  34.  
  35. -- 
  36. Leonard Erickson              leonard@qiclab.scn.rain.com
  37. CIS: [70465,203]             70465.203@compuserve.com
  38. FIDO:   1:105/51     Leonard.Erickson@f51.n105.z1.fidonet.org
  39. (The CIS & Fido addresses are preferred)
  40.