AutoExp.dat 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. ; AutoExp.Dat - templates for automaticially expanding data
  2. ; Copyright(c) 1997 Microsoft Corporation. All Rights Reserved.
  3. ;
  4. ; This file defines rules used by Visual Studio to automatically
  5. ; expand data of a given type when you pause the cursor on a
  6. ; variable of that data type.
  7. ;
  8. ; This file has additional AutoExpand rules for the following jlib classes:
  9. ; StringBuffer, String, SCMStringBuffer, VStringBuffer, StringAttr,
  10. ; StringAttrAdaptor, StringBufferAdaptor, StringAttrItem
  11. ;
  12. ; Copy this file to %MSVCDIR%\Common\MSDev98\bin folder
  13. ;---------------------------------------------------------------
  14. ;
  15. ; While debugging, Data Tips and items in the Watch and Variable
  16. ; windows are automatically expanded to show their most important
  17. ; elements. The expansion follows the format given by the rules
  18. ; in this file. You can add rules for your types or change the
  19. ; predefined rules.
  20. ;
  21. ; For good examples, read the rules in this file.
  22. ;
  23. ; To find what the debugger considers the type of a variable to
  24. ; be, add it to the Watch window and right-click and select
  25. ; Properties.
  26. ;
  27. ; An AutoExpand rule is a line with the name of a type, an equals
  28. ; sign, and text with replaceable parts in angle brackets. The
  29. ; part in angle brackets names a member of the type and an
  30. ; optional Watch format specifier.
  31. ;
  32. ; AutoExpand rules use the following syntax. The equals sign (=),
  33. ; angle brackets (<>), and comma are taken literally. Square
  34. ; brackets ([]) indicate optional items.
  35. ;
  36. ; type=[text]<member[,format]>...
  37. ;
  38. ; type Name of the type (may be followed by <*> for template
  39. ; types such as the ATL types listed below).
  40. ;
  41. ; text Any text.Usually the name of the member to display,
  42. ; or a shorthand name for the member.
  43. ;
  44. ; member Name of a member to display.
  45. ;
  46. ; format Watch format specifier. One of the following:
  47. ;
  48. ; Letter Description Sample Display
  49. ; ------ -------------------------- ------------ -------------
  50. ; d,i Signed decimal integer 0xF000F065,d -268373915
  51. ; u Unsigned decimal integer 0x0065,u 101
  52. ; o Unsigned octal integer 0xF065,o 0170145
  53. ; x,X Hexadecimal integer 61541,X 0X0000F065
  54. ; l,h long or short prefix for 00406042,hx 0x0c22
  55. ; d, i, u, o, x, X
  56. ; f Signed floating-point 3./2.,f 1.500000
  57. ; e Signed scientific-notation 3./2.,e 1.500000e+000
  58. ; g Shorter of e and f 3./2.,g 1.5
  59. ; c Single character 0x0065,c 'e'
  60. ; s Zero-terminated string 0x0012fde8,s "Hello world"
  61. ; su Unicode string 0x007200c4,su "Hello world"
  62. ; st String in ANSI or Unicode depending on current setting
  63. ;
  64. ; The special format <,t> specifies the name of the most-derived
  65. ; type of the object. This is especially useful with pointers or
  66. ; references to a base class.
  67. ;
  68. ; If there is no rule for a class, the base classes are checked for
  69. ; a matching rule.
  70. ;
  71. ; -------
  72. ; Unicode
  73. ; -------
  74. ;
  75. ; If your application is built for Unicode, you'll want Unicode
  76. ; strings to automatically expand as text, rather than arrays of
  77. ; unsigned short. To automatically display Unicode strings as
  78. ; text, go to Tools/Options/Debug tab and check 'Display Unicode
  79. ; strings'.
  80. ;
  81. ;---------------------------------------------------------------
  82. [AutoExpand]
  83. ; from windef.h
  84. tagPOINT =x=<x> y=<y>
  85. tagRECT =top=<top> bottom=<bottom> left=<left> right=<right>
  86. ; from winuser.h
  87. tagMSG =msg=<message,x> wp=<wParam,x> lp=<lParam,x>
  88. ; from afxwin.h
  89. CDC =hDC=<m_hDC> attrib=<m_hAttribDC>
  90. CPaintDC =<,t> hWnd=<m_hWnd>
  91. CPoint =x=<x> y=<y>
  92. CRect =top=<top> bottom=<bottom> left=<left> right=<right>
  93. CSize =cx=<cx> cy=<cy>
  94. CWnd =<,t> hWnd=<m_hWnd>
  95. CWinApp =<,t> <m_pszAppName,s>
  96. CWinThread =<,t> h=<m_hThread> proc=<m_pfnThreadProc>
  97. ; from afxcoll.h
  98. CPtrList =cnt=<m_nCount>
  99. ; from afxstat_.h
  100. CProcessLocalObject =<,t>
  101. CThreadLocalObject =<,t>
  102. ; from afx.h
  103. CArchiveException =cause=<m_cause>
  104. CFile =hFile=<m_hFile> name=<m_strFileName.m_pchData,s>
  105. CFileException =cause=<m_cause> OS Error=m_lOsError
  106. CMemFile =pos=<m_nPosition> size=<m_nFileSize>
  107. CObject =<,t>
  108. CRuntimeClass =<m_lpszClassName,s>
  109. CStdioFile =FILE*=<m_pStream> name=<m_strFilename.m_pchData,s>
  110. CString =<m_pchData,st>
  111. CTimeSpan =time=<m_time>
  112. CTime =time=<m_time>
  113. ; from afxcoll.h
  114. CByteArray =count=<m_nCount>
  115. CStringList =count=<m_nCount>
  116. ; same for all CXXXArray classes
  117. ; same for CXXXList
  118. ; same for CMapXXToXX
  119. ; new for VC98
  120. _com_error=<m_hresult,hr>
  121. _bstr_t=<m_Data->m_wstr,su> (<m_Data->m_RefCount,u>)
  122. _com_ptr_t<*>=<m_pInterface>
  123. _LARGE_INTEGER=<QuadPart>
  124. ATL::CComPtr<*>=<p>
  125. ATL::CComBSTR=<m_str,su>
  126. ATL::CComQIPtr<*>=<p>
  127. std::basic_string<*>=<_Ptr>
  128. ; new for VC98 using built-ins
  129. tagVARIANT=$BUILTIN(VARIANT)
  130. VARIANT=$BUILTIN(VARIANT)
  131. _GUID=$BUILTIN(GUID)
  132. ; from system/jlib/jstring.hpp
  133. StringBuffer= curLen=<curLen,u> buffer=<buffer,s>
  134. String=<text,s>
  135. SCMStringBuffer= curLen=<s.curLen,u> buffer=<s.buffer,s>
  136. VStringBuffer= curLen=<curLen,u> buffer=<buffer,s>
  137. StringAttr=<text,s>
  138. StringAttrAdaptor=<attr.text,s>
  139. StringBufferAdaptor= curLen=<buffer.curLen,u> buffer=<buffer.buffer,s>
  140. StringAttrItem=<text.text,s>