| 1276 | } |
| 1277 | |
| 1278 | void CLUADbg::ShowLocalsForFrame(int frame) |
| 1279 | { |
| 1280 | m_wLocals.SendMessage(WM_SETREDRAW, (WPARAM)FALSE, (LPARAM)FALSE); |
| 1281 | |
| 1282 | m_nodeLookupByName.clear(); |
| 1283 | m_wLocals.Clear(); |
| 1284 | IScriptTable* pFrame = m_pScriptSystem->GetLocalVariables(frame, false); |
| 1285 | m_pTreeToAdd = &m_wLocals; |
| 1286 | if (pFrame) |
| 1287 | { |
| 1288 | m_hRoot = NULL; |
| 1289 | m_iRecursionLevel = 0; |
| 1290 | m_pIVariable = pFrame; |
| 1291 | pFrame->Dump((IScriptTableDumpSink*) this); |
| 1292 | ShowSelf(pFrame); |
| 1293 | pFrame->Release(); |
| 1294 | } |
| 1295 | else |
| 1296 | m_wLocals.AddItemToTree("No Locals Available"); |
| 1297 | m_pTreeToAdd = NULL; |
| 1298 | m_pIVariable = NULL; |
| 1299 | m_wLocals.SendMessage(WM_SETREDRAW, (WPARAM)TRUE, (LPARAM)FALSE); |
| 1300 | } |
| 1301 | |
| 1302 | HTREEITEM CLUADbg::AddVariableToTree(const char* sName, ScriptVarType type, HTREEITEM hParent) |
| 1303 | { |
nothing calls this directly
no test coverage detected