home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mod201j.zip / modula2.exe / os2src / seedump.def < prev    next >
Text File  |  1996-01-25  |  1KB  |  34 lines

  1. DEFINITION MODULE SEEDUMP;
  2.  
  3. (*************************************************************************
  4.    SEEDUMP.DEF    Interface for setting up "SeeDump" postmortem debugger
  5.  
  6.  
  7.    Copyright (c) 1996 by Juergen Neuhoff
  8. *************************************************************************)
  9.  
  10. (*$CDECL+   C-style procedures *)
  11.  
  12. (************************************************************************
  13.   The following procedure must be the first statement in the main module.
  14.  
  15.   It will register an exception handler, that will not terminate
  16.   the whole process but simply the failing thread.
  17.   In case the failing thread is thread 1, the whole process will be
  18.   terminated anyway.
  19. *************************************************************************)
  20.  
  21. PROCEDURE SetXCPTHandler();
  22.  
  23.  
  24. (************************************************************************
  25.   The procedure given below
  26.   will register an exception handler, that will end the failing
  27.   thread with a given routine specified in 'et'.
  28. ************************************************************************)
  29.  
  30. PROCEDURE SetEndThreadXCPTHandler( et : LONGCARD );
  31.  
  32.  
  33. END SEEDUMP.
  34.