Coding in VS-2012 Express for Web -- VB.Net with this code...

Diagnostics.Debug.WriteLine(vbTab + ".prpUID_REPORT      = [{0}]", .prpUID_REPORT)
Diagnostics.Debug.WriteLine(vbTab + ".prpRV_HeaderDSName = [{0}]", .prpRV_HeaderDSName)
Diagnostics.Debug.WriteLine(vbTab + ".prpRV_HeaderDSId   = [{0}]", .prpRV_HeaderDSId)
Diagnostics.Debug.WriteLine(vbTab + ".prpRV_ReportDSName = [{0}]", .prpRV_ReportDSName)
Diagnostics.Debug.WriteLine(vbTab + ".prpRV_ReportDSId   = [{0}]", .prpRV_ReportDSId)
Diagnostics.Debug.WriteLine(vbTab + ".prpRV_ReportPath   = [{0}]", .prpRV_ReportPath)

Results in this in the Immediate-window:

   .prpUID_REPORT      = [22]
   dsetCustHeader:  .prpRV_HeaderDSName = [{0}]
   SDS_RptHeader:   .prpRV_HeaderDSId   = [{0}]
   dsetReportContentAll:    .prpRV_ReportDSName = [{0}]
   SDS_RptData:     .prpRV_ReportDSId   = [{0}]
   ssrsFleetCostSummary_FLA.rdlc:   .prpRV_ReportPath   = [{0}]

Notice that the first debug-line shows the text correctly .prpUID_Report = [22]. However, the next debug-lines show the "value" followed by part of the source code line. It appears that the substitution into {0} is faulty.

Any clues as to what may be causing this? I think the debug-source code is syntactically correct, since the first line (= [22]) works as expected but the other lines do not. Your comments are welcome.

Related posts

Recent Viewed