home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / vmsnet / internal / 1124 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.3 KB

  1. Path: sparky!uunet!olivea!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nntpd.lkg.dec.com!gauche.zko.dec.com!jnelson
  2. From: jnelson@gauche.zko.dec.com (Jeff E. Nelson)
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: How can I determine if running under debugger?
  5. Message-ID: <1992Jul27.211743.16665@nntpd.lkg.dec.com>
  6. Date: 27 Jul 92 21:17:43 GMT
  7. References: <MARBY.92Jul24152309@laura.harvard.edu> <1992Jul27.133619.28409@nntphost.ciba-geigy.ch>
  8. Sender: usenet@nntpd.lkg.dec.com (USENET News System)
  9. Reply-To: jnelson@gauche.zko.dec.com (Jeff E. Nelson)
  10. Organization: Digital Equipment Corporation
  11. Lines: 20
  12.  
  13.  
  14. In article <1992Jul27.133619.28409@nntphost.ciba-geigy.ch>,
  15. bnebga@ciba-geigy.ch (Gary Nebbett) writes:
  16. |>The debugger modifies certain entries in the system service dispatch
  17. |>table. 
  18.  
  19. Not always, and we aren't the only ones to do this. This is really not a
  20. dependable way to figure out if the debugger is active. Jeff Diewald's
  21. suggestion of walking the image list to look for an image named "DEBUG"
  22. is the best option I can think of.
  23.  
  24. Of course, you'll have to decide how close you want to monitor this
  25. information: just because the debugger isn't active when the program checks
  26. doesn't mean that it can't be activated later: the user can type CTRL/Y
  27. DEBUG at any time.
  28.  
  29. -Jeff Nelson
  30. -DEBUG developer
  31. -Digital Equipment Corporation
  32. -Internet: jnelson@gauche.zko.dec.com
  33.