| 2884 | |
| 2885 | |
| 2886 | void 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 | |
| 2903 | void GetScriptStack(LPTSTR aBuf, int aBufSize, DbgStack::Entry *aTop) |
no test coverage detected