| 6022 | } |
| 6023 | |
| 6024 | void WinDebugger::DbgVisFailed(DebugVisualizerEntry* debugVis, const StringImpl& evalString, const StringImpl& errors) |
| 6025 | { |
| 6026 | bool onlyMemError = errors.StartsWith("Failed to read") && !errors.Contains('\n'); |
| 6027 | if ((!debugVis->mShowedError) && (!onlyMemError)) |
| 6028 | { |
| 6029 | debugVis->mShowedError = true; |
| 6030 | String errStr = StrFormat("DbgVis '%s' failed while evaluating condition '%s'\n", debugVis->mName.c_str(), evalString.c_str()); |
| 6031 | String spacedErrors = errors; |
| 6032 | spacedErrors.Insert(0, " "); |
| 6033 | spacedErrors.Replace("\n", "\n "); |
| 6034 | errStr += spacedErrors; |
| 6035 | OutputMessage(errStr); |
| 6036 | } |
| 6037 | } |
| 6038 | |
| 6039 | bool WinDebugger::EvalCondition(DebugVisualizerEntry* debugVis, DbgCompileUnit* dbgCompileUnit, DbgTypedValue typedVal, DwFormatInfo& formatInfo, const StringImpl& condition, const Array<String>& dbgVisWildcardCaptures, String& errorStr) |
| 6040 | { |
nothing calls this directly
no test coverage detected