home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / except2x.zip / traptrap.doc < prev    next >
Text File  |  1993-11-19  |  855b  |  25 lines

  1. TRAPTRAP is a sample Trap catcher code using DosDebug.
  2. Usage is
  3.  
  4.   TRAPTRAP [optional watch points] trapping_program arguments
  5.  
  6. optional watch points syntax is :
  7.   /address1 [ /address2 [/address3 [ /address4 ]]]
  8.  
  9. where address1 (2,3,4) are the linear addresses to watch up to 4
  10. addresses can be specified
  11.  
  12. sample provided use > TRAPTRAP TEST
  13. where test.exe will trap
  14.  
  15. sample watch point provided use > TRAPTRAP /20000 WATCH
  16. where watch.exe will write at linear address 20000
  17. run 1st watch alone to check address.
  18.  
  19. it generates a PROCESS.TRP file similar to EXCEPTQ's
  20. the stack limits pointed in the FS:0 area are not value due to a bug
  21. in OS/2 see APAR PJ06136 that is why I dump all of the stack memory
  22. object.
  23. I did not test it with 16:16 code maybe a problem for the stack dump.
  24. I did not include Disasm either as in EXCEPTQ.
  25.