| 6037 | } |
| 6038 | |
| 6039 | bool WinDebugger::EvalCondition(DebugVisualizerEntry* debugVis, DbgCompileUnit* dbgCompileUnit, DbgTypedValue typedVal, DwFormatInfo& formatInfo, const StringImpl& condition, const Array<String>& dbgVisWildcardCaptures, String& errorStr) |
| 6040 | { |
| 6041 | DwFormatInfo displayStrFormatInfo = formatInfo; |
| 6042 | displayStrFormatInfo.mHidePointers = false; |
| 6043 | displayStrFormatInfo.mRawString = false; |
| 6044 | |
| 6045 | String errors; |
| 6046 | const String conditionStr = mDebugManager->mDebugVisualizers->DoStringReplace(condition, dbgVisWildcardCaptures); |
| 6047 | DbgTypedValue evalResult = EvaluateInContext(dbgCompileUnit, typedVal, conditionStr, &displayStrFormatInfo, NULL, &errors); |
| 6048 | if ((!evalResult) || (!evalResult.mType->IsBoolean())) |
| 6049 | { |
| 6050 | if (formatInfo.mRawString) |
| 6051 | return false; |
| 6052 | |
| 6053 | errorStr += "<DbgVis Failed>"; |
| 6054 | DbgVisFailed(debugVis, conditionStr, errors); |
| 6055 | return false; |
| 6056 | } |
| 6057 | |
| 6058 | return evalResult.mBool; |
| 6059 | } |
| 6060 | |
| 6061 | String WinDebugger::GetArrayItems(DbgCompileUnit* dbgCompileUnit, DebugVisualizerEntry* debugVis, DbgType* valueType, DbgTypedValue& curNode, int& count, String* outContinuationData) |
| 6062 | { |
no test coverage detected