Page tree
Skip to end of metadata
Go to start of metadata

On this page:

Target audience:

CAST Administrators

Summary: the following page lists messages that may be written to the log during a .NET analysis. You can use these to validate your analysis. These messages are produced by the Roslyn compiler, which is used as the analysis engine for the CAST .NET analyzer.

Messages are listed as follows:

  • By Type
    • Info
    • Warn
    • Error
    • Debug
  • By Description (alphabetical)

Most relevant error messages

The following table lists messages that are of particular relevance during a CAST AIP analysis:

The column entitled Relevance for CAST AIP analysis contains messages classed as follows:

  • (tick) > These mark the transition between major phases in the analysis process and can therefore be used to determine which phase a problem has occurred in.
  • (tick)(tick) > These message are crucial - they are an indication of a major problem in the analysis. Please contact CAST Support in the event that you encounter a message of this type.

Info messages

TypeDescriptionRelevance for CAST AIP analysis
Info\tVisiting file (tick)
InfoRunning managed analyzer for .NET languages(tick)
InfoStarting analysis of (tick)
InfoStarting to look for devirtualization entry points ({0})(tick)

Error messages

TypeDescriptionRelevance for CAST AIP analysis
ErrorCannot load the following assemblies: \n(tick)
ErrorMissing mandatory reference towards mscorlib: project {0} will be skipped(tick)(tick)
ErrorUnknown exception (tick)(tick)

Debug messages

TypeDescriptionRelevance for CAST AIP analysis
DebugStart web client analysis(tick)

Other messages

The following are other messages you may see in the analysis log:

Info messages

TypeDescription
Info{0} candidates found, starting dataflow resolution
Info{0} candidates found, starting dataflow resolution
Info{0} candidates found, starting external link engine (dataflow mode)
Info{0} candidates found, starting external links engine (grep mode)
Info{0} candidates were successfully devirtualized
Info==> Memory profile: GC: {0:n0} / Total: {1:n0} / Peak: {2:n0}
InfoCalling extensibitity callbacks
InfoCleaning AST objects out of memory
InfoEnd of removing references
InfoIdToSymbol:\t{0}\tIdToProjects:\t{1}\tUsed memory (estimation):\t{2}\t{3}\t{4}
InfoProcessed candidate {0}/{1}
InfoProject loaded: 
InfoSaving CastIL
InfoStarting to look for external link entry points (dataflow mode)
InfoStarting to look for external link entry points (grep mode)
InfoStarting to remove references
InfoTarget skipped due to a code generation issue

Warning messages

TypeDescription
Warn\tFailed to compile project 
WarnAnalysis of 
WarnApp_Code contains both C# code and VB code
WarnCannot trace link for {0}: {1}
WarnCan't generate {0} files from XAML files.
WarnCan't generate {0} files from XAML files.
WarnCan't generate {0} files from XAML files: {1} not found.
WarnCouldn't load assembly {0} (candidates are {1})
WarnDuplicated project path will be ignored: {0}
WarnDuplicated project path will be ignored: {0}
WarnError when creating devirtualization link: {0}
WarnError while loading XML document '{0}': {1}.
WarnError while processing visitor: 
WarnError while processing visitor: 
WarnFailed to generate code for dataset: {0}
WarnFile couldn't be loaded: {0}
WarnMissing project dependency: {0}
WarnNo 'web.config' found in {0}. The folder isn't a website, and won't be analyzed.
WarnSource file is never referenced, and therefore will be ignored: 
WarnTried to devirtualize {0}, which isn't devirtualizable

Error messages

TypeDescription
ErrorCouldn't compute guid for: 
ErrorCouldn't load project 
ErrorCouldn't load project 
ErrorException while loading
ErrorTrying to assign a new SId to an already saved symbol: 
ErrorUnknown language 

Debug messages

TypeDescription
Debug\tCompute symbols' diagnostics
Debug\tGenerating code
Debug\tGenerating code
Debug\tGenerating code
Debug\tGenerating code
Debug\tSaving symbols
Debug{0} is not LoadData or LoadStr
Debug{3} external link from {0} to {1} of kind {2}{4}
DebugA document with name {0} already exists, retrying with {1}
DebugAn exception occured when generating code for method 
DebugAsk external link engine for {0}
DebugAsking external link engine for {0}
Debugassemblies written
DebugCalling XamlSilverlightGenerator.exe
DebugCan't find attribute type for 
DebugCan't find attribute type for 
DebugCan't find containing symbol for 
DebugCan't find lambda method for node 
DebugCan't find parent frame
DebugCan't generate code (unknown lhs) for assignment 
DebugCan't generate code (unknown rhs) for assignment 
DebugCan't generate code for array initializer 
DebugCan't generate code for assignment 
DebugCan't generate code for assignment 
DebugCan't generate code for property access 
DebugCan't generate code for return statement 
DebugCan't generate code for variable declaration 
DebugCan't generate field in display class for captured variable 
DebugCan't parse web.config's tag {0}, invalid value {1}
DebugCan't parse web.config's tag {0}, invalid value {1}
DebugCan't parse web.config's tag {0}, invalid value {1}
DebugCan't parse web.config's tag {0}, invalid value {1}
DebugCan't resolve the control variable symbol for a for each loop!
DebugCan't resolve the Current property for a for each loop!
DebugChoosing {0}
DebugCircular dependency between project {0} and {1}
DebugComputing checksum for {0}
DebugComputing MAV2 metrics
DebugCreating parent link
DebugDevirtualization link from {0} to {1}
DebugEnd of analysis of project syntax trees
DebugEnd of VisitNamedType
DebugError: Assembly can't be found for: 
DebugException: 
DebugException: 
DebugException: 
DebugFile generated at : '
DebugGeneration for '
DebugGuid doesn't register for {0}
DebugGuid wasn't registered for method with guid {0}
DebugGuid wasn't registered for method with mangling {0}
DebugInference engine reached the exploration limit when devirtualizing {0}
DebugInvalid register for lambda expression return: 
DebugLoading project reference 
DebugLoading project reference external to current execution unit 
DebugObject with mangling {0} has different SIds in different assemblies!!
DebugParameter with no name, replacing it with 'UnknownParameterName'. This is usually a sign that the parsing of the file went totally wrong.
DebugParameter with no type, replacing it with 'UnknownParameterType'. This is usually a sign that the parsing of the file went totally wrong.
DebugParent frame wasn't constructed!
DebugPossible assemblies for {0}: {1}
DebugRegistering 
DebugResolved System.Object
DebugResolving System.Object
DebugRunning extensibility: call extensions
DebugSaving instance
DebugSaving links
DebugSaving symbol: {0}{1} -> {2}
DebugSetting manglings of 
DebugSkipping web client analysis
DebugStart line : {0}, Start column : {1}, Link start : {2}, Link length : {3}
DebugStarting analysis of project syntax trees
DebugString found in files: 
DebugSymbol {0} not found, expression ignored
DebugSymbol already has a register 
DebugThe file '{0}' already exists. No generation will be done for '{1}'
DebugThe file does not represent a DataSet
DebugTrying to get the SId of unsaved file 
DebugVisitNamedType
  • No labels