home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5204 < prev    next >
Encoding:
Text File  |  1992-09-07  |  1.6 KB  |  41 lines

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: holland@matt.ksu.ksu.edu (Rich Holland)
  3. Newsgroups: comp.lang.pascal
  4. Subject: New Idea!
  5. Message-ID: <188jleINNcn6@matt.ksu.ksu.edu>
  6. Date: 4 Sep 92 11:15:26 GMT
  7. Article-I.D.: matt.188jleINNcn6
  8. Organization: Kansas State University
  9. Lines: 29
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. I've got a rather large program which is spread out through around 10
  13. units, and over 6500 lines of code.  When it crashes mysteriously, I
  14. get a message like this:
  15.  
  16.   Runtime error 105 at 0052:03A3
  17.  
  18. I can then look at 'PROG.MAP' (the map file I told it to generate) and
  19. search for '0052:03A3' and get a line number.  Then, I have to page
  20. back through the map file a few pages, usually, and find the Unit name
  21. the line number is in.  Then, I go into Qedit and PgDn until I get to
  22. that line number.
  23.  
  24. Question 1:  Is there a way to jump to a given line in Qedit?  Like a 
  25. macro you could use (Alt-J for Jump?) and enter the line number to go
  26. to?
  27.  
  28. Question 2:  Anyone (other than me) be interested in (or know of!) a
  29. program to grab the runtime error off the screen (from video memory),
  30. load up an editor with the file (Qedit, or an internal editor), and
  31. jump to the offending line??
  32.  
  33. I think (2) has some possibilities!  What about the rest of you? 
  34. Anyone ever seen anything like this before??
  35.  
  36. -- 
  37. Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
  38. 100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
  39. Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
  40. char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
  41.