home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / objmodel / dbgdefs.h < prev    next >
C/C++ Source or Header  |  1998-05-05  |  1KB  |  56 lines

  1. // Microsoft Visual Studio Object Model
  2. // Copyright (C) 1996-1997 Microsoft Corporation
  3. // All rights reserved.
  4.  
  5. /////////////////////////////////////////////////////////////////////////////
  6. // dbgdefs.h
  7.  
  8. // Declaration of constants and error IDs used by objects in the type library
  9. //  VISUAL STUDIO 97 DEBUGGER (SharedIDE\bin\ide\devdbg.pkg)
  10.  
  11. #ifndef __DBGDEFS_H
  12. #define __DBGDEFS_H
  13.  
  14.  
  15. ///////////////////////////////////////////////////////////////////////
  16. // Enumerations used by Automation Methods
  17.  
  18. // Debuggee's execution state
  19. enum DsExecutionState
  20. {
  21.     dsNoDebugee,
  22.     dsBreak,
  23.     dsRunning,
  24. };
  25.  
  26. enum DsBreakpointType
  27. {
  28.     dsLocation,
  29.     dsLocationWithTrueExpression,
  30.     dsLocationWithChangedExpression,
  31.     dsTrueExpression,
  32.     dsChangedExpression,
  33.     dsMessage,
  34. };
  35.  
  36.  
  37. ///////////////////////////////////////////////////////////////////////
  38. // Error constants returned by Automation Methods.
  39.  
  40. // the user tried to set text of a column selection
  41. #define DS_E_DBG_PKG_RELEASED    0x8004D001
  42.  
  43. // a breakpoint was already removed
  44. #define DS_E_BP_REMOVED            0x8004D002
  45.  
  46. // can't evaluate this expression
  47. #define DS_E_DBG_CANT_EVAL        0x8004D003
  48.  
  49. // can't set IP to this line
  50. #define DS_E_DBG_SET_IP            0x8004D004
  51.  
  52. // this command is invalid if debuggee is running
  53. #define DS_E_DBG_RUNNING        0x8004D005
  54.  
  55. #endif // __DBGDEFS_H
  56.