摘要 |
A failure identification routine uses a two pass stack trace analysis in conjunction with a list of called types. As each method is called, a call list is generated with the called type, method, and various metadata. During the first pass stack trace analysis, each stack frame is analyzed to determine if the failed type is included in the stack frame. If so, the method associated with the frame is flagged as suspect. If the failed type is not found in the first stack trace, a second pass stack trace analysis is performed and an assembly associated with the method associated with the stack frame is analyzed to determine a set of types. The set of types are analyzed to find at least one match with the called types. If a match exists, the methods associated with the matched types are flagged as suspect.
|