MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / WritePropertyXml

Method WritePropertyXml

source/Debugger.cpp:1064–1075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062
1063
1064int Debugger::WritePropertyXml(PropertyInfo &aProp, IObject *aObject)
1065{
1066 PropertyWriter pw(*this, aProp, aObject);
1067 // Ask the object to write out its properties:
1068 aObject->DebugWriteProperty(&pw, aProp.page, aProp.pagesize, aProp.max_depth);
1069 aProp.fullname.Truncate(pw.mNameLength);
1070 // For simplicity/code size, instead of requiring error handling in aObject,
1071 // any failure during the above sets pw.mError, which causes it to ignore
1072 // any further method calls. Since we're finished now, return the error
1073 // code (even if it's "OK"):
1074 return pw.mError;
1075}
1076
1077void Object::DebugWriteProperty(IDebugProperties *aDebugger, int aPage, int aPageSize, int aDepth)
1078{

Callers 1

_WritePropertyMethod · 0.80

Calls 4

WriteFMethod · 0.80
GetStringMethod · 0.80
DebugWritePropertyMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected