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

Method EndProperty

source/Debugger.cpp:2886–2900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2884
2885
2886void Debugger::PropertyWriter::EndProperty(DebugCookie aCookie)
2887{
2888 if (mError)
2889 return;
2890
2891 mDepth--;
2892
2893 if (mDepth > 0) // If we just ended a child property...
2894 {
2895 mNameLength = (size_t)aCookie; // Restore to the value it had before BeginProperty().
2896 mProp.fullname.Truncate(mNameLength);
2897 }
2898
2899 mError = mDbg.mResponseBuf.Write("</property>");
2900}
2901
2902
2903void GetScriptStack(LPTSTR aBuf, int aBufSize, DbgStack::Entry *aTop)

Callers 3

DebugWritePropertyMethod · 0.80
DebugWritePropertyMethod · 0.80
DebugWritePropertyMethod · 0.80

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected