Changeset 63 in dev for BasicCompiler64/WatchList.cpp
- Timestamp:
- Feb 23, 2007, 2:12:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/WatchList.cpp
r62 r63 78 78 if(PTR_LEVEL(*pType)){ 79 79 *pType=MAKE_PTR_TYPE(NATURAL_TYPE(*pType),PTR_LEVEL(*pType)-1); 80 if((*pType)==DEF_OBJECT) 81 array_num*=GetSizeOfClassMember((CClass *)lpIndex,NULL,NULL); 82 else 83 array_num*=GetTypeSize(*pType,-1); 80 if((*pType)==DEF_OBJECT){ 81 CClass *pClass = (CClass *)lpIndex; 82 array_num *= pClass->GetSize(); 83 } 84 else{ 85 array_num *= GetTypeSize(*pType,-1); 86 } 84 87 } 85 88 else{ … … 100 103 101 104 BOOL Debugging_GetMember(CClass *pobj_c,char *member,int *pType,RELATIVE_VAR *pRelativeVar,LONG_PTR *plpNestIndex,BOOL bPrivateAccess){ 102 int i,i2 ,offset;105 int i,i2; 103 106 104 107 //直接参照に切り替え … … 120 123 //////////////////////////// 121 124 122 offset=GetSizeOfClassMember(pobj_c,VarName,&i);125 int offset = pobj_c->GetMemberOffset( VarName, &i ); 123 126 if(i==pobj_c->iMemberNum) return 0; 124 127
Note:
See TracChangeset
for help on using the changeset viewer.