home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13187 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!decwrl!csus.edu!netcomsv!mork!crunch
  3. From: crunch@netcom.com (John Draper)
  4. Subject: A 'dcmd' question!
  5. Message-ID: <l_pmxrc.crunch@netcom.com>
  6. Date: Thu, 30 Jul 92 01:15:15 GMT
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  8. Lines: 25
  9.  
  10. I just got a new 'dcmd' for TMON called "Stopif",  but there is little
  11. or no documentation on how I can use it.   I am hoping I can use it
  12. to examine memory,  and stop if a certain condition exists.
  13.  
  14. I am using TMON pro,  Ver 3.0, a Mac FX, with 32 Megs of memory,  and
  15. running it in 32 bit mode.    I don't know if this 'dcmd' will really
  16. do what I want,  but according to the "help" information,  I get the
  17. following,  and it needs explanation.
  18.  
  19. StopIf expr ; g
  20.   Stop in Macsbug if expr is true.
  21.   otherwize continue execution of the command line.
  22.   
  23. Question:  What is "expr",  and what syntax form does this need
  24. in order to work.    For instance,  is it possible to use it to check
  25. the value of a certain register,  and if true,  stop?,   what about
  26. memory locations?
  27.  
  28. I am looking for anyone familiar with this 'dcmd' and how it is used.
  29.  
  30. Thanx
  31. crunch@netcom.com
  32. or
  33. crunch@well.sf.ca.us
  34.  
  35.