Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.3 KiB

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