Home
%3CLINGO-SUB%20id%3D%22lingo-sub-287718%22%20slang%3D%22en-US%22%3ECapturing%20Memory%20Dumps%20on%20Long%20Running%20WCF%20Requests%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-287718%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3E%20First%20published%20on%20MSDN%20on%20Sep%2019%2C%202012%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%0A%20%20%3CP%3EThere%20are%20many%20options%20to%20troubleshoot%20long%20running%20WCF%20requests.%20One%20of%20them%20is%20%3A%20capturing%20a%20memory%20dump%20when%20the%20long%20running%20WCF%20request%20is%20still%20executing.%20To%20capture%20a%20dump%20while%20the%20WCF%20request%20is%20still%20executing%2C%20you%20can%20use%20%3CSTRONG%3EServiceModelTimeTaken%20%3C%2FSTRONG%3Emessage%20inspector%20as%20shown%20in%20the%20%3CA%20href%3D%22http%3A%2F%2Fblogs.msdn.com%2Fb%2Fwebapps%2Farchive%2F2012%2F09%2F18%2Fcapturing-wcf-request-execution-time.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eprevious%20post%20%3C%2FA%3E.%3C%2FP%3E%0A%20%20%3CH2%20id%3D%22toc-hId-1652185552%22%20id%3D%22toc-hId-1793331551%22%3EConfiguring%20ServiceModelTimeTaken%3C%2FH2%3E%0A%20%20%3CP%3EComplete%20source%20code%20for%20ServiceModelTimeTaken%20is%20%3CA%20href%3D%22http%3A%2F%2Fcode.msdn.microsoft.com%2FCapturing-WCF-Request-d168060d%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FP%3E%0A%20%20%3CP%3EServiceModelTimeTaken%20is%20a%20message%20inspector%20that%20wakes%20up%20every%2060%20seconds%20(configurable)%20and%20checks%20the%20list%20of%20running%20WCF%20requests.%20If%20any%20of%20these%20WCF%20requests%20are%20taking%20more%20than%20specified%20time%2C%20ServiceModelTimeTaken%20will%20execute%20the%20dumpCmd%20and%20captures%20a%20dump%20file.%3C%2FP%3E%0A%20%20%3CP%3EIn%20the%20Web.Config%20or%20App.Config%2C%20we%20need%20to%20set%20these%20parameters%3C%2FP%3E%0A%20%20%3COL%3E%0A%20%20%20%3CLI%3E%3CSTRONG%3EcaptureDumpAfterSeconds%20%3C%2FSTRONG%3E%E2%80%93%20if%20the%20WCF%20request%20is%20not%20completed%20within%20this%20number%20of%20seconds%2C%20a%20dump%20will%20be%20captured%3C%2FLI%3E%0A%20%20%20%3CLI%3E%3CSTRONG%3EdumpCmd%20%3C%2FSTRONG%3E%E2%80%93%20the%20debugger%20command%20to%20capture%20the%20dump%3C%2FLI%3E%0A%20%20%20%3CLI%3E%3CSTRONG%3EdumpLimit%20%3C%2FSTRONG%3E%E2%80%93%20the%20max%20number%20of%20dumps%20to%20capture%3C%2FLI%3E%0A%20%20%20%3CLI%3E%3CSTRONG%3EpollIntervalSeconds%20%3C%2FSTRONG%3E%E2%80%93%20time%20interval%20between%20each%20check%20for%20long%20running%20WCF%20requests%3C%2FLI%3E%0A%20%20%3C%2FOL%3E%0A%20%20%3CP%3EHere%20is%20the%20command%20to%20capture%20dump%3A%3C%2FP%3E%0A%20%20%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%0A%20%20%20%3CP%3E%22c%3A%5CProgram%20Files%5CDebugging%20Tools%20for%20Windows%20(x64)%5Cadplus.exe%22%20-hang%20-p%20%251%20-Do%20-o%20c%3A%5Ctemp%3C%2FP%3E%0A%20%20%3C%2FDIV%3E%0A%20%20%3CP%3EWeb.config%20or%20App.config%3C%2FP%3E%0A%20%20%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%0A%20%20%20%3CENDPOINTBEHAVIORS%3E%20%3CBR%20%2F%3E%3CBEHAVIOR%20name%3D%22%26quot%3BServiceModelTimeTakenBehavior%26quot%3B%22%3E%20%3CBR%20%2F%3E%3CSERVICEMODELTIMETAKENEXTENSIONNAME%20capturedumpafterseconds%3D%22%26quot%3B180%26quot%3B%22%3E%3CBR%20%2F%3EdumpCmd%3D%22C%3A%5CTemp%5CCaptureDumpCmd.bat%22%20%3CBR%20%2F%3EpollIntervalSeconds%3D%2260%22%20%3CBR%20%2F%3EdumpLimit%3D%2213%22%20%2F%26gt%3B%20%3CBR%20%2F%3E%3C%2FSERVICEMODELTIMETAKENEXTENSIONNAME%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3C%2FBEHAVIOR%3E%3C%2FENDPOINTBEHAVIORS%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId--899971409%22%20id%3D%22toc-hId--758825410%22%3EAnalyzing%20the%20dump%3C%2FH2%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EOpen%20the%20dump%20file%20in%20WinDBG%20and%20load%20sos%20as%20shown%20%3A%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E0%3A043%26gt%3B%20.loadby%20sos%20clr%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId-842838926%22%20id%3D%22toc-hId-983984925%22%3EWCF%20Request%20that%20triggered%20this%20dump%3C%2FH2%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EServiceModelTimeTaken%20saves%20this%20WCF%20request%20details%20in%20its%20threadpool%20object.%20So%20lets%20dump%20the%20threadpool%20object%20using%20following%20commands%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3COL%3E%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3E%3CSTRONG%3E!dumpheap%20%E2%80%93stat%20%E2%80%93type%20%3C%2FSTRONG%3E%E2%80%93%20this%20will%20dump%20the%20threadpool%20object%E2%80%99s%20MT%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3E%3CSTRONG%3E!dumpea%20%E2%80%93mt%20%3C%2FSTRONG%3E%E2%80%93%20this%20will%20dump%20the%20address%20of%20the%20threadpool%20object%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3E%3CSTRONG%3E!do%20%3C%2FSTRONG%3E%E2%80%93%20this%20will%20dump%20the%20threadpool%20object%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FOL%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%3CP%3E0%3A000%26gt%3B%20!dumpheap%20-type%20ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool%20-stat%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3Etotal%200%20objects%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EStatistics%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Count%26nbsp%3B%26nbsp%3B%26nbsp%3B%20TotalSize%20Class%20Name%20%3CBR%20%2F%3E000007ff00490670%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2088%20ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A000%26gt%3B%20!dumpheap%20-mt%20000007ff00490670%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAddress%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Size%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0000000002714278%20000007ff00490670%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2088%20%3CBR%20%2F%3Etotal%200%20objects%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EStatistics%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Count%26nbsp%3B%26nbsp%3B%26nbsp%3B%20TotalSize%20Class%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00490670%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2088%20ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ETotal%201%20objects%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A000%26gt%3B%20!do%200000000002714278%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff00490670%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007ff0046f098%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2088(0x58)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20ServiceModelTimeTaken.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Field%26nbsp%3B%26nbsp%3B%20Offset%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Type%20VT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Attr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Value%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff003ac2c0%26nbsp%3B%204000010%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%20...elTimeTakenConfig%26nbsp%3B%200%20instance%200000000002703108%20_serviceModelTimeTakenConfig%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00047658%26nbsp%3B%204000011%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20...tring%2C%20mscorlib%5D%5D%26nbsp%3B%200%20instance%20000000000288efe8%20_currentRunningRequests%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feeaeb5ae8%26nbsp%3B%204000012%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2018%20...reading.Semaphore%26nbsp%3B%200%20instance%200000000002714320%20_workWaiting%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbcdc30%26nbsp%3B%204000013%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%20....ManualResetEvent%26nbsp%3B%200%20instance%200000000002714548%20_pollingEvent%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00490968%26nbsp%3B%204000014%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2028%20...eModelTimeTaken%5D%5D%26nbsp%3B%200%20instance%2000000000027142d0%20_queue%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00047bc0%26nbsp%3B%204000015%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2030%20...hread%2C%20mscorlib%5D%5D%26nbsp%3B%200%20instance%20000000000288f058%20_threads%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbd7be8%26nbsp%3B%204000016%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2040%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int64%26nbsp%3B%201%20instance%20634836121896815805%20_dumpstartTicks%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbb6728%26nbsp%3B%204000017%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2038%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.String%26nbsp%3B%200%20instance%20000000000275cae8%20_dumpIncomingMessage%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%204000018%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2048%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201%20_dumpCount%20%3CBR%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId--1709318035%22%20id%3D%22toc-hId--1568172036%22%3EWCF%20Request%20start%20time%3C%2FH2%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EServiceModelTimeTaken%E2%80%99s%20threadpool%20object%20has%20these%20three%20properties%20%3A%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3COL%3E%3CBR%20%2F%3E%3CLI%3E%3CSTRONG%3E_dumpstartTicks%20%3C%2FSTRONG%3E%E2%80%93%20execution%20start%20time%20of%20the%20WCF%20request%20for%20which%20this%20dump%20was%20taken%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CSTRONG%3E_dumpIncomingMessage%20%3C%2FSTRONG%3E%E2%80%93%20the%20raw%20message%20of%20the%20above%20WCF%20request%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CSTRONG%3E_currentRunningRequests%20%3C%2FSTRONG%3E%E2%80%93%20list%20of%20WCF%20request%20still%20running%20at%20the%20time%20of%20this%20dump%20was%20taken%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FOL%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E_dumpstartTicks%20%3C%2FSTRONG%3Esaves%20the%20start%20time%20of%20the%20WCF%20request%20in%20ticks.%20To%20convert%20ticks%20to%20time%2C%20just%20use%20%3CSTRONG%3E.formats%20%3C%2FSTRONG%3E.%20And%20to%20get%20the%20time%20of%20the%20dump%20use%20%3CSTRONG%3E.time%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3ESo%2C%20the%20WCF%20request%20was%20started%20at%20%3CSTRONG%3E00%3A43%3A09%20%3C%2FSTRONG%3Eand%20dump%20was%20taken%20at%20%3CSTRONG%3E00%3A44%3A46%20%3C%2FSTRONG%3E%2C%20i.e.%20the%20request%20was%20running%20for%20more%20than%20%3CSTRONG%3E97%20seconds%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%200%3A000%26gt%3B%20.formats%200n634836121896815805%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEvaluate%20expression%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHex%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2008cf6416%60e03f0cbd%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDecimal%3A%20634836121896815805%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOctal%3A%26nbsp%3B%26nbsp%3B%200043173101334017606275%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBinary%3A%26nbsp%3B%2000001000%2011001111%2001100100%2000010110%2011100000%2000111111%2000001100%2010111101%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EChars%3A%26nbsp%3B%26nbsp%3B%20..d..%3F..%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Time%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Tue%20Sep%2018%2019%3A43%3A09.681%203612%20(UTC%20-%205%3A00)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFloat%3A%26nbsp%3B%26nbsp%3B%20low%20-5.50663e%2B019%20high%201.24819e-033%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDouble%3A%26nbsp%3B%203.04228e-266%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A000%26gt%3B%20.time%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDebug%20session%20time%3A%20Wed%20Sep%2019%2000%3A44%3A46.000%202012%20(UTC%20-%205%3A00)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESystem%20Uptime%3A%201%20days%2017%3A06%3A49.412%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EProcess%20Uptime%3A%200%20days%200%3A02%3A11.000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EKernel%20time%3A%200%20days%200%3A00%3A01.000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EUser%20time%3A%200%20days%200%3A00%3A08.000%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId-33492300%22%20id%3D%22toc-hId-174638299%22%3EWCF%20Raw%20Message%3C%2FH2%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E_dumpIncomingMessage%20%3C%2FSTRONG%3Esaves%20the%20raw%20message%20of%20the%20WCF%20request%2C%20so%20just%20do%20!do%20on%20it%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%3CP%3E0%3A043%26gt%3B%20!do%20000000000275cae8%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.String%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007feebbb6728%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007feeb73ed68%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201106(0x452)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_64%5Cmscorlib%5Cv4.0_4.0.0.0__b77a5c561934e089%5Cmscorlib.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EString%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CENVELOPE%20s%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22%20%3C%2FA%3E%26gt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CHEADER%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CTO%20mustunderstand%3D%22%26quot%3B1%26quot%3B%22%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%22%20%3C%2FA%3E%26gt%3B%20%3CA%20href%3D%22http%3A%2F%2Flocalhost%3A8080%2FIStockMarket%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Flocalhost%3A8080%2FIStockMarket%20%3C%2FA%3E%3C%2FTO%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CACTION%20mustunderstand%3D%22%26quot%3B1%26quot%3B%22%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%22%20%3C%2FA%3E%26gt%3B%20%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2FIStockMarket%2FdumpStockValue%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2FIStockMarket%2FdumpStockValue%20%3C%2FA%3E%3C%2FACTION%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FHEADER%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CDUMPSTOCKVALUE%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2F%22%20%3C%2FA%3E%26gt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRSYMBOL%3EthreadID-14-28-28%3C%2FSTRSYMBOL%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FDUMPSTOCKVALUE%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FENVELOPE%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId-1776302635%22%20id%3D%22toc-hId-1917448634%22%3EOther%20WCF%20Requests%3C%2FH2%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3ENow%2C%20lets%20dump%20all%20WCF%20requests%20that%20are%20still%20running%20(and%20dump%20their%20start%20time%20also).%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EDump%20the%20%3CSTRONG%3E_currentRunningRequests%20%3C%2FSTRONG%3Eusing%20sos%20command%20!do%20as%20shown%20%3A%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%3CP%3E0%3A043%26gt%3B%20!do%20000000000288efe8%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Collections.Generic.Dictionary%602%5B%5BSystem.Int64%2C%20mscorlib%5D%2C%5BSystem.String%2C%20mscorlib%5D%5D%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff00047658%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007feeb7dd660%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2088(0x58)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_64%5Cmscorlib%5Cv4.0_4.0.0.0__b77a5c561934e089%5Cmscorlib.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Field%26nbsp%3B%26nbsp%3B%20Offset%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Type%20VT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Attr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Value%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc5a0%26nbsp%3B%204000c98%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%5B%5D%26nbsp%3B%200%20instance%20000000000286cb08%20buckets%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feec545ec0%26nbsp%3B%204000c99%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20...non%2C%20mscorlib%5D%5D%5B%5D%26nbsp%3B%200%20instance%2000000000028a54f0%20entries%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%204000c9a%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2040%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20124%20count%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%204000c9b%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2044%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20633%20version%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%204000c9c%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2048%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2099%20freeList%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%204000c9d%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%204c%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2097%20freeCount%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feec561b98%26nbsp%3B%204000c9e%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2018%20...Int64%2C%20mscorlib%5D%5D%26nbsp%3B%200%20instance%20000000000288f040%20comparer%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feec5b2210%26nbsp%3B%204000c9f%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%20...Canon%2C%20mscorlib%5D%5D%26nbsp%3B%200%20instance%200000000002724b18%20keys%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feec5abc00%26nbsp%3B%204000ca0%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2028%20...Canon%2C%20mscorlib%5D%5D%26nbsp%3B%200%20instance%200000000000000000%20values%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbb5880%26nbsp%3B%204000ca1%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2030%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Object%26nbsp%3B%200%20instance%200000000000000000%20_syncRoot%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbd9f80%26nbsp%3B%204000ca2%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2038%20...SerializationInfo%26nbsp%3B%200%20instance%200000000000000000%20m_siInfo%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E_currentRunningRequests%20%3C%2FSTRONG%3Eis%20a%20dictionary%20object%2C%20sos.dll%20doesn%E2%80%99t%20support%20dumping%20entries%20in%20dictionary%20object.%20So%20lets%20dump%20them%20using%20script.%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EFirst%20we%20need%20to%20know%20the%20number%20of%20elements%20in%20the%20dictionary%20object%20and%20the%20size%20of%20each%20element%20%3A%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3COL%3E%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ERun%20%3CSTRONG%3E!do%20%3C%2FSTRONG%3Ecommand%20on%20the%20entries%20property%20to%20get%20the%20number%20of%20elements%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ERun%20%3CSTRONG%3Edq%20%3C%2FSTRONG%3Ecommand%20on%20the%20entries%20property%20to%20get%20the%20size%20of%20the%20element.%20The%20second%20parameter%20in%20dq%20is%20the%20number%20of%20quad-word%20(8-bytes)%20to%20be%20displayed.%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ERun%20%3CSTRONG%3E%3F%20%3C%2FSTRONG%3Ecommand%20to%20get%20the%20size%20of%20the%20element%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FOL%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%3CP%3E0%3A043%26gt%3B%20!do%2000000000028a54f0%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Collections.Generic.Dictionary%602%2BEntry%5B%5BSystem.Int64%2C%20mscorlib%5D%2C%5BSystem.String%2C%20mscorlib%5D%5D%5B%5D%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff00048968%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007ff000488a8%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%204752(0x1290)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EArray%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Rank%201%2C%20%3CSTRONG%3ENumber%20of%20elements%20197%20%3C%2FSTRONG%3E%2C%20Type%20VALUETYPE%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EElement%20Type%3ASystem.Collections.Generic.Dictionary%602%2BEntry%5B%5BSystem.Int64%2C%20mscorlib%5D%2C%5BSystem.String%2C%20mscorlib%5D%5D%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENone%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3E0%3A043%26gt%3B%20dq%2000000000028a54f0%20l40%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a54f0%26nbsp%3B%20000007ff%6000048968%2000000000%60000000c5%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5500%26nbsp%3B%2000000000%6000000000%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5510%26nbsp%3B%2000000067%60ffffffff%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5520%26nbsp%3B%2000000000%6000000000%200000005e%60ffffffff%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5530%26nbsp%3B%2000000000%6002a86888%2008cf6417%6014603bed%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5540%26nbsp%3B%20ffffffff%601caf5ffa%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5550%26nbsp%3B%2000000000%6000000000%2000000004%60ffffffff%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5560%26nbsp%3B%2000000000%6000000000%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5570%26nbsp%3B%200000005f%60ffffffff%2000000000%6002a58760%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5580%26nbsp%3B%2008cf6417%6013f210cd%20ffffffff%601b3d74da%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5590%26nbsp%3B%2000000000%6000000000%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a55a0%26nbsp%3B%200000006d%60ffffffff%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a55b0%26nbsp%3B%2000000000%6000000000%2000000020%60ffffffff%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a55c0%26nbsp%3B%2000000000%6000000000%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a55d0%26nbsp%3B%200000006c%60ffffffff%2000000000%6002a9f820%26nbsp%3B%20-%26gt%3B%20beginning%20of%20an%20element%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a55e0%26nbsp%3B%2008cf6417%601461e99d%2000000023%601cae8d8a%26nbsp%3B%26nbsp%3B%20-%26gt%3B%20end%20of%20element%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a55f0%26nbsp%3B%2000000000%6002a9afc8%2008cf6417%6014619b7d%26nbsp%3B%26nbsp%3B%20-%26gt%3B%20beginning%20of%20another%20element%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5600%26nbsp%3B%20ffffffff%601caeff6a%2000000000%600278f190%26nbsp%3B%26nbsp%3B%20-%26gt%3B%20end%20of%20element%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5610%26nbsp%3B%2008cf6416%60e2f6648d%20ffffffff%606a39009b%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5620%26nbsp%3B%2000000000%6000000000%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5630%26nbsp%3B%2000000026%60ffffffff%2000000000%600279a7b0%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5640%26nbsp%3B%2008cf6416%60e38efb0d%20ffffffff%606b419f1b%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5650%26nbsp%3B%2000000000%600279ed70%2008cf6416%60e3db464d%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5660%26nbsp%3B%20ffffffff%606b14225b%2000000000%60027a54c8%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5670%26nbsp%3B%2008cf6416%60e427b89d%20ffffffff%606ce8dc8b%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5680%26nbsp%3B%2000000000%60027a8ed0%2008cf6416%60e473b5bd%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a5690%26nbsp%3B%20ffffffff%606cbcd1ab%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a56a0%26nbsp%3B%2000000000%6000000000%200000002e%60ffffffff%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a56b0%26nbsp%3B%2000000000%6002a9a9f8%2008cf6417%601461746d%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a56c0%26nbsp%3B%20ffffffff%601cae107a%2000000000%6000000000%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a56d0%26nbsp%3B%2000000000%6000000000%2000000000%60ffffffff%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%60028a56e0%26nbsp%3B%2000000000%6002a970c0%2008cf6417%601460d82d%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20%3F%2000000000%60028a55f0%20-%2000000000%60028a55d8%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20-%26gt%3B%20subtract%20the%20beginning%20address%20of%20two%20elements%20%3CBR%20%2F%3EEvaluate%20expression%3A%2024%20%3D%2000000000%6000000018%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3ESo%20the%20number%20of%20elements%20are%20197%20and%20size%20is%2024.%20Lets%20use%20the%20below%20script%20to%20dump%20few%20elements%20%3A%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBLOCKQUOTE%3E%3CBR%20%2F%3E%3CP%3E%3CSTRONG%3E%20.for%20(%20r%20%24t1%20%3D%2000000000%60028a55d8%3B%20%40%24t2%20%26lt%3B%207%3B%20r%20%24t1%20%3D%20%40%24t1%20%2B%200x24%3B)%20%7B.echo%20**start%20of%20new%20WCF%20Request***%3B.formats%20poi(%40%24t1%2B8)%3B!do%20poi(%40%24t1)%3B%26nbsp%3B%20r%20%24t2%20%3D%20%40%24t2%20%2B%201%20%7D%20%3C%2FSTRONG%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EHere%20we%20are%20starting%20the%20script%20from%20028a55d8%2C%20we%20are%20going%20to%20dump%20the%20next%207%20elements%20and%20we%20are%20going%20to%20use%20.formats%20to%20dump%20the%20start%20time%20of%20the%20WCF%20request%20and%20!do%20to%20dump%20the%20raw%20WCF%20message.%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3ENote%20%3A%20we%20need%20to%20set%20the%20pseudo-register%20%24t2%20to%20zero%20before%20running%20the%20above%20script%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3COL%3E%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3EThe%20green%20highlighted%20indicated%20start%20of%20an%20element%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3EThe%20yellow%20highlighted%20is%20the%20start%20time%20of%20the%20WCF%20request%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3EThe%20organ%20highlighted%20text%20is%20the%20raw%20WCF%20message%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FOL%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%3CP%3E0%3A043%26gt%3B%20r%20%24t2%20%3D%200%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20.for%20(%20r%20%24t1%20%3D%2000000000%60028a55d8%3B%20%40%24t2%20%26lt%3B%207%3B%20r%20%24t1%20%3D%20%40%24t1%20%2B%200x24%3B)%20%7B.echo%20**start%20of%20new%20WCF%20Request***%3B.formats%20poi(%40%24t1%2B8)%3B!do%20poi(%40%24t1)%3B%26nbsp%3B%20r%20%24t2%20%3D%20%40%24t2%20%2B%201%20%7D%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E**start%20of%20new%20WCF%20Request***%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEvaluate%20expression%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHex%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2008cf6417%601461e99d%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDecimal%3A%20634836122771515805%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOctal%3A%26nbsp%3B%26nbsp%3B%200043173101342430364635%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBinary%3A%26nbsp%3B%2000001000%2011001111%2001100100%2000010111%2000010100%2001100001%2011101001%2010011101%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EChars%3A%26nbsp%3B%26nbsp%3B%20..d..a..%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Time%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Tue%20Sep%2018%2019%3A44%3A37.151%203612%20(UTC%20-%205%3A00)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFloat%3A%26nbsp%3B%26nbsp%3B%20low%201.14057e-026%20high%201.24819e-033%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDouble%3A%26nbsp%3B%203.04228e-266%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.String%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007feebbb6728%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007feeb73ed68%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201100(0x44c)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_64%5Cmscorlib%5Cv4.0_4.0.0.0__b77a5c561934e089%5Cmscorlib.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EString%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CENVELOPE%20s%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22%20%3C%2FA%3E%26gt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CHEADER%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CTO%20mustunderstand%3D%22%26quot%3B1%26quot%3B%22%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%22%20%3C%2FA%3E%26gt%3B%20%3CA%20href%3D%22http%3A%2F%2Flocalhost%3A8080%2FIStockMarket%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Flocalhost%3A8080%2FIStockMarket%20%3C%2FA%3E%3C%2FTO%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CACTION%20mustunderstand%3D%22%26quot%3B1%26quot%3B%22%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%22%20%3C%2FA%3E%26gt%3B%20%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2FIStockMarket%2FputStockValue%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2FIStockMarket%2FputStockValue%20%3C%2FA%3E%3C%2FACTION%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FHEADER%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CPUTSTOCKVALUE%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2F%22%20%3C%2FA%3E%26gt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRSYMBOL%3EthreadID-15-1-1%3C%2FSTRSYMBOL%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FPUTSTOCKVALUE%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FENVELOPE%3E%20%3CBR%20%2F%3E**start%20of%20new%20WCF%20Request***%20%3CBR%20%2F%3EInvalid%20object%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E**start%20of%20new%20WCF%20Request***%20%3CBR%20%2F%3EInvalid%20parameter%20poi(%40%24t1)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E**start%20of%20new%20WCF%20Request***%20%3CBR%20%2F%3EInvalid%20object%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E**start%20of%20new%20WCF%20Request***%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEvaluate%20expression%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHex%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2008cf6416%60e427b89d%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDecimal%3A%20634836121962395805%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOctal%3A%26nbsp%3B%26nbsp%3B%200043173101334411734235%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EBinary%3A%26nbsp%3B%2000001000%2011001111%2001100100%2000010110%2011100100%2000100111%2010111000%2010011101%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EChars%3A%26nbsp%3B%26nbsp%3B%20..d..'..%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Time%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Tue%20Sep%2018%2019%3A43%3A16.239%203612%20(UTC%20-%205%3A00)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFloat%3A%26nbsp%3B%26nbsp%3B%20low%20-1.23756e%2B022%20high%201.24819e-033%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EDouble%3A%26nbsp%3B%203.04228e-266%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.String%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007feebbb6728%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007feeb73ed68%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201110(0x456)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_64%5Cmscorlib%5Cv4.0_4.0.0.0__b77a5c561934e089%5Cmscorlib.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EString%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3CENVELOPE%20s%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22%20%3C%2FA%3E%26gt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CHEADER%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CTO%20mustunderstand%3D%22%26quot%3B1%26quot%3B%22%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%22%20%3C%2FA%3E%26gt%3B%20%3CA%20href%3D%22http%3A%2F%2Flocalhost%3A8080%2FIStockMarket%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Flocalhost%3A8080%2FIStockMarket%20%3C%2FA%3E%3C%2FTO%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CACTION%20mustunderstand%3D%22%26quot%3B1%26quot%3B%22%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.microsoft.com%2Fws%2F2005%2F05%2Faddressing%2Fnone%22%20%3C%2FA%3E%26gt%3B%20%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2FIStockMarket%2FdumpStockValue%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2FIStockMarket%2FdumpStockValue%20%3C%2FA%3E%3C%2FACTION%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FHEADER%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CDUMPSTOCKVALUE%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2F%22%20%3C%2FA%3E%26gt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRSYMBOL%3EthreadID-14-16-16%3C%2FSTRSYMBOL%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FDUMPSTOCKVALUE%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FENVELOPE%3E%20%3CBR%20%2F%3E**start%20of%20new%20WCF%20Request***%20%3CBR%20%2F%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CH2%20id%3D%22toc-hId--775854326%22%20id%3D%22toc-hId--634708327%22%3EWCF%20Request%E2%80%99s%20raw%20message%20on%20a%20thread%3C%2FH2%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EServiceModelTimeTaken%20cannot%20tell%20us%20on%20which%20thread%20these%20WCF%20requests%20are%20getting%20executed.%20So%20we%20have%20to%20go%20to%20individual%20threads%20and%20dump%20the%20stack%20objects.%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3ETo%20dump%20the%20WCF%20raw%20incoming%20message%2C%20we%20need%20to%20follow%20these%20steps%20%3A%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3COL%3E%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ERun%20%3CSTRONG%3E!dso%20%3C%2FSTRONG%3E%E2%80%93%20to%20dump%20the%20stack%20objects%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ESearch%20for%20%3CSTRONG%3EOperation%20Context%3C%2FSTRONG%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ERun%20%3CSTRONG%3E!do%20%3C%2FSTRONG%3Eon%20the%20Operation%20Context%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3E%3CBR%20%2F%3E%3CDIV%3ESearch%20for%20%3CSTRONG%3ERequest%20Context%3C%2FSTRONG%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3ERun%20%3CSTRONG%3E!do%20%3C%2FSTRONG%3Eon%20the%20Request%20Context%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3ESearch%20for%20%3CSTRONG%3ERequest%20Message%3C%2FSTRONG%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3ERun%20%3CSTRONG%3E!do%20%3C%2FSTRONG%3Eon%20the%20Request%20Message%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3ESearch%20for%20%3CSTRONG%3EMessage%20Data%3C%2FSTRONG%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3ERun%20%3CSTRONG%3E!do%20%3C%2FSTRONG%3Eon%20the%20Message%20Data%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3ESearch%20for%20%3CSTRONG%3Ebuffer%3C%2FSTRONG%3E%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3EThis%20buffer%20is%20a%20byte%5B%5D%3C%2FLI%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CLI%3EUse%20%3CSTRONG%3E.printf%20%3C%2FSTRONG%3Eto%20print%20byte%20array%20contents%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FOL%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CDIV%20id%3D%22codeSnippetWrapper%22%3E%3CBR%20%2F%3E%3CP%3E0%3A043%26gt%3B%20!dso%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EOS%20Thread%20Id%3A%200x27b8%20(43)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ERSP%2FREG%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Object%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Name%20%3CBR%20%2F%3E%E2%80%A6%E2%80%A6%E2%80%A6..%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20000000002029E7F8%2000000000026b9ce8%20System.ServiceModel.ServiceHost%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000000002029E800%200000000002869e48%20System.ServiceModel.OperationContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000000002029E820%2000000000028d24a8%20System.ServiceModel.Dispatcher.DispatchOperationRuntime%20%3CBR%20%2F%3E%E2%80%A6..%20%3CBR%20%2F%3E%200%3A043%26gt%3B%20!do%200000000002869e48%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.ServiceModel.OperationContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff0049b2b8%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007ff004a8e50%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20136(0x88)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_MSIL%5CSystem.ServiceModel%5Cv4.0_4.0.0.0__b77a5c561934e089%5CSystem.ServiceModel.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Field%26nbsp%3B%26nbsp%3B%20Offset%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Type%20VT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Attr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Value%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff0049a328%26nbsp%3B%204003008%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%20...ls.ServiceChannel%26nbsp%3B%200%20instance%2000000000028ffd08%20channel%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff002e9c68%26nbsp%3B%204003009%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20....Channels.Message%26nbsp%3B%200%20instance%200000000000000000%20clientReply%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%20400300a%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2078%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20closeClientReply%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0000000000000000%26nbsp%3B%20400300b%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2018%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20instance%200000000000000000%20extensions%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff0027c118%26nbsp%3B%20400300c%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%20...l.ServiceHostBase%26nbsp%3B%200%20instance%2000000000026b9ce8%20host%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff003f3df0%26nbsp%3B%20400300d%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2028%20...ls.RequestContext%26nbsp%3B%200%20instance%20000000000280e3f0%20requestContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff002e9c68%26nbsp%3B%20400300e%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2030%20....Channels.Message%26nbsp%3B%200%20instance%20000000000280e860%20request%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00475db0%26nbsp%3B%20400300f%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2038%20...l.InstanceContext%26nbsp%3B%200%20instance%200000000002869f88%20instanceContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%204003010%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2079%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20isServiceReentrant%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbd1d70%26nbsp%3B%204003011%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2040%20...ncipal.IPrincipal%26nbsp%3B%200%20instance%200000000000000000%20threadPrincipal%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004eebb0%26nbsp%3B%204003012%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2048%20...ansactionRpcFacet%26nbsp%3B%200%20instance%200000000000000000%20txFacet%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e41a0%26nbsp%3B%204003013%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2050%20...MessageProperties%26nbsp%3B%200%20instance%200000000000000000%20outgoingMessageProperties%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e54b8%26nbsp%3B%204003014%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2058%20...ls.MessageHeaders%26nbsp%3B%200%20instance%200000000000000000%20outgoingMessageHeaders%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff003a5998%26nbsp%3B%204003015%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2060%20...ls.MessageVersion%26nbsp%3B%200%20instance%200000000002859580%20outgoingMessageVersion%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff003b4a50%26nbsp%3B%204003016%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2068%20...ndpointDispatcher%26nbsp%3B%200%20instance%20000000000270ec90%20endpointDispatcher%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbcde18%26nbsp%3B%204003017%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2070%26nbsp%3B%20System.EventHandler%26nbsp%3B%200%20instance%200000000000000000%20OperationCompleted%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004ef160%26nbsp%3B%204003007%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%20...ionContext%2BHolder%26nbsp%3B%200%20TLstatic%26nbsp%3B%20currentContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%26gt%3B%26gt%3B%20Thread%3AValue%20%26lt%3B%26lt%3B%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20!do%20000000000280e3f0%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.ServiceModel.Channels.HttpRequestContext%2BListenerHttpContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff004e3700%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007ff004d6278%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20104(0x68)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_MSIL%5CSystem.ServiceModel%5Cv4.0_4.0.0.0__b77a5c561934e089%5CSystem.ServiceModel.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Field%26nbsp%3B%26nbsp%3B%20Offset%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Type%20VT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Attr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Value%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbd90d8%26nbsp%3B%2040001a1%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2028%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.TimeSpan%26nbsp%3B%201%20instance%20000000000280e418%20defaultSendTimeout%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbd90d8%26nbsp%3B%2040001a2%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2030%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.TimeSpan%26nbsp%3B%201%20instance%20000000000280e420%20defaultCloseTimeout%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff0027b750%26nbsp%3B%2040001a3%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%202%20state%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff002e9c68%26nbsp%3B%2040001a4%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%20....Channels.Message%26nbsp%3B%200%20instance%20000000000280e860%20requestMessage%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbb6af0%26nbsp%3B%2040001a5%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Exception%26nbsp%3B%200%20instance%200000000000000000%20requestMessageException%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%2040001a6%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2024%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20replySent%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%2040001a7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2025%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20replyInitiated%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%2040001a8%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2026%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20aborted%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbb5880%26nbsp%3B%2040001a9%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2018%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Object%26nbsp%3B%200%20instance%20000000000280e458%20thisLock%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00518628%26nbsp%3B%204000823%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2038%20...annels.HttpOutput%26nbsp%3B%200%20instance%200000000000000000%20httpOutput%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e3d18%26nbsp%3B%204000824%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2040%20...hannels.HttpInput%26nbsp%3B%200%20instance%20000000000280e470%20httpInput%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff003fd7e8%26nbsp%3B%204000825%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2048%20...tpChannelListener%26nbsp%3B%200%20instance%20000000000270d780%20listener%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e4580%26nbsp%3B%204000826%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2050%20...tyMessageProperty%26nbsp%3B%200%20instance%200000000000000000%20securityProperty%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feeaee9680%26nbsp%3B%204000832%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2058%20...tpListenerContext%26nbsp%3B%200%20instance%2000000000027b1370%20listenerContext%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20!do%20000000000280e860%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.ServiceModel.Channels.BufferedMessage%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff004e6c98%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007ff004da290%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2080(0x50)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_MSIL%5CSystem.ServiceModel%5Cv4.0_4.0.0.0__b77a5c561934e089%5CSystem.ServiceModel.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Field%26nbsp%3B%26nbsp%3B%20Offset%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Type%20VT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Attr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Value%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff002e9b08%26nbsp%3B%204000783%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201%20state%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0000000000000000%26nbsp%3B%204000784%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%20...eMessageNavigator%26nbsp%3B%200%20instance%200000000000000000%20messageNavigator%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%20400344a%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2014%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20isFault%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%20400344b%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2015%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20isEmpty%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e54b8%26nbsp%3B%204003456%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2018%20...ls.MessageHeaders%26nbsp%3B%200%20instance%2000000000027b1b18%20headers%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e41a0%26nbsp%3B%204003457%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%20...MessageProperties%26nbsp%3B%200%20instance%20000000000280e8b0%20properties%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e62f0%26nbsp%3B%204003458%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2028%20...fferedMessageData%26nbsp%3B%200%20instance%20000000000280e738%20messageData%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e6908%26nbsp%3B%204003459%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2030%20...ycledMessageState%26nbsp%3B%200%20instance%20000000000280e830%20recycledMessageState%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007fee5c61128%26nbsp%3B%20400345a%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2038%20...lDictionaryReader%26nbsp%3B%200%20instance%200000000000000000%20reader%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e8e70%26nbsp%3B%20400345b%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2040%20...AttributeHolder%5B%5D%26nbsp%3B%200%20instance%200000000002727028%20bodyAttributes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20!do%20000000000280e738%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EName%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.ServiceModel.Channels.TextMessageEncoderFactory%2BTextMessageEncoder%2BUTF8BufferedMessageData%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMethodTable%3A%20000007ff004e6730%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EEEClass%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20000007ff004da0e0%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESize%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20104(0x68)%20bytes%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFile%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20C%3A%5CWindows%5CMicrosoft.Net%5Cassembly%5CGAC_MSIL%5CSystem.ServiceModel%5Cv4.0_4.0.0.0__b77a5c561934e089%5CSystem.ServiceModel.dll%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFields%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3EMT%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Field%26nbsp%3B%26nbsp%3B%20Offset%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Type%20VT%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Attr%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Value%20Name%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feec5a0608%26nbsp%3B%2040001c5%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2030%20....Byte%2C%20mscorlib%5D%5D%26nbsp%3B%201%20instance%20000000000280e768%20buffer%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff00492c00%26nbsp%3B%2040001c6%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%208%20...els.BufferManager%26nbsp%3B%200%20instance%2000000000027171e0%20bufferManager%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%2040001c7%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2020%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%201%20refCount%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbc610%26nbsp%3B%2040001c8%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2024%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Int32%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20outstandingReaders%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbbd440%26nbsp%3B%2040001c9%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2028%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20System.Boolean%26nbsp%3B%201%20instance%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%200%20multipleUsers%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e6908%26nbsp%3B%2040001ca%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2010%20...ycledMessageState%26nbsp%3B%200%20instance%200000000000000000%20messageState%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e6ea8%26nbsp%3B%2040001cb%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2018%20...em.ServiceModel%5D%5D%26nbsp%3B%200%20instance%200000000002725020%20messageStatePool%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff003fec50%26nbsp%3B%20400356a%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2040%20...extMessageEncoder%26nbsp%3B%200%20instance%20000000000270e0b8%20messageEncoder%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007ff004e7210%26nbsp%3B%20400356b%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2048%20...e.Serialization%5D%5D%26nbsp%3B%200%20instance%20000000000280e7a0%20readerPool%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007fee5c61090%26nbsp%3B%20400356c%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2050%20...ionaryReaderClose%26nbsp%3B%200%20instance%20000000000280e7f0%20onClose%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E000007feebbc3728%26nbsp%3B%20400356d%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%2058%20System.Text.Encoding%26nbsp%3B%200%20instance%2000000000026688a8%20encoding%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20dq%20000000000280e768%20l1%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E00000000%600280e768%26nbsp%3B%2000000000%600280e620%20%3CBR%20%2F%3E%3CBR%20%2F%3E0%3A043%26gt%3B%20.printf%20%22%25ma%22%2C%20(0280e620%20%2B%200x10)%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CENVELOPE%20s%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F%22%20%3C%2FA%3E%26gt%3B%3CDUMPSTOCKVALUE%20xmlns%3D%22%26quot%3B%22%3E%3CA%20href%3D%22http%3A%2F%2Ftempuri.org%2F%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftempuri.org%2F%22%20%3C%2FA%3E%26gt%3B%3CSTRSYMBOL%3EthreadID-14-28-28%3C%2FSTRSYMBOL%3E%3C%2FDUMPSTOCKVALUE%3E%3C%2FENVELOPE%3E%3C%2FP%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FDIV%3E%3CBR%20%2F%3E%20%3CBR%20%2F%3E%3CP%3EThis%20above%20raw%20WCF%20message%20is%20same%20as%20the%20ServiceModelTimeTaken%E2%80%99s%20%3CSTRONG%3E_dumpIncomingMessage%3C%2FSTRONG%3E%3C%2FP%3E%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-287718%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Sep%2019%2C%202012%20%26nbsp%3B%20There%20are%20many%20options%20to%20troubleshoot%20long%20running%20WCF%20requests.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-287718%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPerformance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETesting%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewcf%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on MSDN on Sep 19, 2012

There are many options to troubleshoot long running WCF requests. One of them is : capturing a memory dump when the long running WCF request is still executing. To capture a dump while the WCF request is still executing, you can use ServiceModelTimeTaken message inspector as shown in the previous post .

Configuring ServiceModelTimeTaken

Complete source code for ServiceModelTimeTaken is here

ServiceModelTimeTaken is a message inspector that wakes up every 60 seconds (configurable) and checks the list of running WCF requests. If any of these WCF requests are taking more than specified time, ServiceModelTimeTaken will execute the dumpCmd and captures a dump file.

In the Web.Config or App.Config, we need to set these parameters

  1. captureDumpAfterSeconds – if the WCF request is not completed within this number of seconds, a dump will be captured
  2. dumpCmd – the debugger command to capture the dump
  3. dumpLimit – the max number of dumps to capture
  4. pollIntervalSeconds – time interval between each check for long running WCF requests

Here is the command to capture dump:

"c:\Program Files\Debugging Tools for Windows (x64)\adplus.exe" -hang -p %1 -Do -o c:\temp

Web.config or App.config

<endpointBehaviors>
<behavior name="ServiceModelTimeTakenBehavior">
<ServiceModelTimeTakenExtensionName captureDumpAfterSeconds="180"
dumpCmd="C:\Temp\CaptureDumpCmd.bat"
pollIntervalSeconds="60"
dumpLimit="13" />
</behavior>



Analyzing the dump



Open the dump file in WinDBG and load sos as shown :



0:043> .loadby sos clr


WCF Request that triggered this dump



ServiceModelTimeTaken saves this WCF request details in its threadpool object. So lets dump the threadpool object using following commands





  1. !dumpheap –stat –type – this will dump the threadpool object’s MT




  2. !dumpea –mt – this will dump the address of the threadpool object




  3. !do – this will dump the threadpool object





0:000> !dumpheap -type ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool -stat


total 0 objects


Statistics:


MT    Count    TotalSize Class Name
000007ff00490670        1           88 ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool




0:000> !dumpheap -mt 000007ff00490670


Address               MT     Size


0000000002714278 000007ff00490670       88
total 0 objects


Statistics:


MT    Count    TotalSize Class Name


000007ff00490670        1           88 ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool


Total 1 objects


0:000> !do 0000000002714278


Name:        ServiceModelTimeTaken.ServiceModelTimeTakenThreadPool


MethodTable: 000007ff00490670


EEClass:     000007ff0046f098


Size:        88(0x58) bytes


File:        ServiceModelTimeTaken.dll


Fields:


MT    Field   Offset                 Type VT     Attr            Value Name


000007ff003ac2c0  4000010        8 ...elTimeTakenConfig  0 instance 0000000002703108 _serviceModelTimeTakenConfig


000007ff00047658  4000011       10 ...tring, mscorlib]]  0 instance 000000000288efe8 _currentRunningRequests


000007feeaeb5ae8  4000012       18 ...reading.Semaphore  0 instance 0000000002714320 _workWaiting


000007feebbcdc30  4000013       20 ....ManualResetEvent  0 instance 0000000002714548 _pollingEvent


000007ff00490968  4000014       28 ...eModelTimeTaken]]  0 instance 00000000027142d0 _queue


000007ff00047bc0  4000015       30 ...hread, mscorlib]]  0 instance 000000000288f058 _threads


000007feebbd7be8  4000016       40         System.Int64  1 instance 634836121896815805 _dumpstartTicks


000007feebbb6728  4000017       38        System.String  0 instance 000000000275cae8 _dumpIncomingMessage


000007feebbbc610  4000018       48         System.Int32  1 instance                1 _dumpCount




WCF Request start time



ServiceModelTimeTaken’s threadpool object has these three properties :




  1. _dumpstartTicks – execution start time of the WCF request for which this dump was taken


  2. _dumpIncomingMessage – the raw message of the above WCF request


  3. _currentRunningRequests – list of WCF request still running at the time of this dump was taken



_dumpstartTicks saves the start time of the WCF request in ticks. To convert ticks to time, just use .formats . And to get the time of the dump use .time



So, the WCF request was started at 00:43:09 and dump was taken at 00:44:46 , i.e. the request was running for more than 97 seconds





0:000> .formats 0n634836121896815805


Evaluate expression:


Hex:     08cf6416`e03f0cbd


Decimal: 634836121896815805


Octal:   0043173101334017606275


Binary:  00001000 11001111 01100100 00010110 11100000 00111111 00001100 10111101


Chars:   ..d..?..


Time:    Tue Sep 18 19:43:09.681 3612 (UTC - 5:00)


Float:   low -5.50663e+019 high 1.24819e-033


Double:  3.04228e-266


0:000> .time


Debug session time: Wed Sep 19 00:44:46.000 2012 (UTC - 5:00)


System Uptime: 1 days 17:06:49.412


Process Uptime: 0 days 0:02:11.000


Kernel time: 0 days 0:00:01.000


User time: 0 days 0:00:08.000




WCF Raw Message



_dumpIncomingMessage saves the raw message of the WCF request, so just do !do on it




0:043> !do 000000000275cae8


Name:        System.String


MethodTable: 000007feebbb6728


EEClass:     000007feeb73ed68


Size:        1106(0x452) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll


String:      <s:Envelope xmlns:s=" http://schemas.xmlsoap.org/soap/envelope/" >

<s:Header>


<To s:mustUnderstand="1" xmlns=" http://schemas.microsoft.com/ws/2005/05/addressing/none" > http://localhost:8080/IStockMarket </To>

<Action s:mustUnderstand="1" xmlns=" http://schemas.microsoft.com/ws/2005/05/addressing/none" > http://tempuri.org/IStockMarket/dumpStockValue </Action>

</s:Header>


<s:Body>


<dumpStockValue xmlns=" http://tempuri.org/" >

<strSymbol>threadID-14-28-28</strSymbol>


</dumpStockValue>


</s:Body>


</s:Envelope>




Other WCF Requests



Now, lets dump all WCF requests that are still running (and dump their start time also).



Dump the _currentRunningRequests using sos command !do as shown :




0:043> !do 000000000288efe8


Name:        System.Collections.Generic.Dictionary`2[[System.Int64, mscorlib],[System.String, mscorlib]]


MethodTable: 000007ff00047658


EEClass:     000007feeb7dd660


Size:        88(0x58) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll


Fields:


MT    Field   Offset                 Type VT     Attr            Value Name


000007feebbbc5a0  4000c98        8       System.Int32[]  0 instance 000000000286cb08 buckets


000007feec545ec0  4000c99       10 ...non, mscorlib]][]  0 instance 00000000028a54f0 entries


000007feebbbc610  4000c9a       40         System.Int32  1 instance              124 count


000007feebbbc610  4000c9b       44         System.Int32  1 instance              633 version


000007feebbbc610  4000c9c       48         System.Int32  1 instance               99 freeList


000007feebbbc610  4000c9d       4c         System.Int32  1 instance               97 freeCount


000007feec561b98  4000c9e       18 ...Int64, mscorlib]]  0 instance 000000000288f040 comparer


000007feec5b2210  4000c9f       20 ...Canon, mscorlib]]  0 instance 0000000002724b18 keys


000007feec5abc00  4000ca0       28 ...Canon, mscorlib]]  0 instance 0000000000000000 values


000007feebbb5880  4000ca1       30        System.Object  0 instance 0000000000000000 _syncRoot


000007feebbd9f80  4000ca2       38 ...SerializationInfo  0 instance 0000000000000000 m_siInfo




_currentRunningRequests is a dictionary object, sos.dll doesn’t support dumping entries in dictionary object. So lets dump them using script.



First we need to know the number of elements in the dictionary object and the size of each element :





  1. Run !do command on the entries property to get the number of elements




  2. Run dq command on the entries property to get the size of the element. The second parameter in dq is the number of quad-word (8-bytes) to be displayed.




  3. Run ? command to get the size of the element





0:043> !do 00000000028a54f0


Name:        System.Collections.Generic.Dictionary`2+Entry[[System.Int64, mscorlib],[System.String, mscorlib]][]


MethodTable: 000007ff00048968


EEClass:     000007ff000488a8


Size:        4752(0x1290) bytes


Array:       Rank 1, Number of elements 197 , Type VALUETYPE


Element Type:System.Collections.Generic.Dictionary`2+Entry[[System.Int64, mscorlib],[System.String, mscorlib]]


Fields:


None



0:043> dq 00000000028a54f0 l40


00000000`028a54f0  000007ff`00048968 00000000`000000c5


00000000`028a5500  00000000`00000000 00000000`00000000


00000000`028a5510  00000067`ffffffff 00000000`00000000


00000000`028a5520  00000000`00000000 0000005e`ffffffff


00000000`028a5530  00000000`02a86888 08cf6417`14603bed


00000000`028a5540  ffffffff`1caf5ffa 00000000`00000000


00000000`028a5550  00000000`00000000 00000004`ffffffff


00000000`028a5560  00000000`00000000 00000000`00000000


00000000`028a5570  0000005f`ffffffff 00000000`02a58760


00000000`028a5580  08cf6417`13f210cd ffffffff`1b3d74da


00000000`028a5590  00000000`00000000 00000000`00000000


00000000`028a55a0  0000006d`ffffffff 00000000`00000000


00000000`028a55b0  00000000`00000000 00000020`ffffffff


00000000`028a55c0  00000000`00000000 00000000`00000000


00000000`028a55d0  0000006c`ffffffff 00000000`02a9f820  -> beginning of an element


00000000`028a55e0  08cf6417`1461e99d 00000023`1cae8d8a   -> end of element


00000000`028a55f0  00000000`02a9afc8 08cf6417`14619b7d   -> beginning of another element


00000000`028a5600  ffffffff`1caeff6a 00000000`0278f190   -> end of element


00000000`028a5610  08cf6416`e2f6648d ffffffff`6a39009b


00000000`028a5620  00000000`00000000 00000000`00000000


00000000`028a5630  00000026`ffffffff 00000000`0279a7b0


00000000`028a5640  08cf6416`e38efb0d ffffffff`6b419f1b


00000000`028a5650  00000000`0279ed70 08cf6416`e3db464d


00000000`028a5660  ffffffff`6b14225b 00000000`027a54c8


00000000`028a5670  08cf6416`e427b89d ffffffff`6ce8dc8b


00000000`028a5680  00000000`027a8ed0 08cf6416`e473b5bd


00000000`028a5690  ffffffff`6cbcd1ab 00000000`00000000


00000000`028a56a0  00000000`00000000 0000002e`ffffffff


00000000`028a56b0  00000000`02a9a9f8 08cf6417`1461746d


00000000`028a56c0  ffffffff`1cae107a 00000000`00000000


00000000`028a56d0  00000000`00000000 00000000`ffffffff


00000000`028a56e0  00000000`02a970c0 08cf6417`1460d82d


0:043> ? 00000000`028a55f0 - 00000000`028a55d8          -> subtract the beginning address of two elements
Evaluate expression: 24 = 00000000`00000018




So the number of elements are 197 and size is 24. Lets use the below script to dump few elements :




.for ( r $t1 = 00000000`028a55d8; @$t2 < 7; r $t1 = @$t1 + 0x24;) {.echo **start of new WCF Request***;.formats poi(@$t1+8);!do poi(@$t1);  r $t2 = @$t2 + 1 }




Here we are starting the script from 028a55d8, we are going to dump the next 7 elements and we are going to use .formats to dump the start time of the WCF request and !do to dump the raw WCF message.



Note : we need to set the pseudo-register $t2 to zero before running the above script





  1. The green highlighted indicated start of an element




  2. The yellow highlighted is the start time of the WCF request




  3. The organ highlighted text is the raw WCF message





0:043> r $t2 = 0


0:043> .for ( r $t1 = 00000000`028a55d8; @$t2 < 7; r $t1 = @$t1 + 0x24;) {.echo **start of new WCF Request***;.formats poi(@$t1+8);!do poi(@$t1);  r $t2 = @$t2 + 1 }


**start of new WCF Request***


Evaluate expression:


Hex:     08cf6417`1461e99d


Decimal: 634836122771515805


Octal:   0043173101342430364635


Binary:  00001000 11001111 01100100 00010111 00010100 01100001 11101001 10011101


Chars:   ..d..a..


Time:    Tue Sep 18 19:44:37.151 3612 (UTC - 5:00)


Float:   low 1.14057e-026 high 1.24819e-033


Double:  3.04228e-266


Name:        System.String


MethodTable: 000007feebbb6728


EEClass:     000007feeb73ed68


Size:        1100(0x44c) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll


String:      <s:Envelope xmlns:s=" http://schemas.xmlsoap.org/soap/envelope/" >

<s:Header>


<To s:mustUnderstand="1" xmlns=" http://schemas.microsoft.com/ws/2005/05/addressing/none" > http://localhost:8080/IStockMarket </To>

<Action s:mustUnderstand="1" xmlns=" http://schemas.microsoft.com/ws/2005/05/addressing/none" > http://tempuri.org/IStockMarket/putStockValue </Action>

</s:Header>


<s:Body>


<putStockValue xmlns=" http://tempuri.org/" >

<strSymbol>threadID-15-1-1</strSymbol>


</putStockValue>


</s:Body>


</s:Envelope>
**start of new WCF Request***
Invalid object


**start of new WCF Request***
Invalid parameter poi(@$t1)


**start of new WCF Request***
Invalid object


**start of new WCF Request***


Evaluate expression:


Hex:     08cf6416`e427b89d


Decimal: 634836121962395805


Octal:   0043173101334411734235


Binary:  00001000 11001111 01100100 00010110 11100100 00100111 10111000 10011101


Chars:   ..d..'..


Time:    Tue Sep 18 19:43:16.239 3612 (UTC - 5:00)


Float:   low -1.23756e+022 high 1.24819e-033


Double:  3.04228e-266


Name:        System.String


MethodTable: 000007feebbb6728


EEClass:     000007feeb73ed68


Size:        1110(0x456) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll


String:      <s:Envelope xmlns:s=" http://schemas.xmlsoap.org/soap/envelope/" >

<s:Header>


<To s:mustUnderstand="1" xmlns=" http://schemas.microsoft.com/ws/2005/05/addressing/none" > http://localhost:8080/IStockMarket </To>

<Action s:mustUnderstand="1" xmlns=" http://schemas.microsoft.com/ws/2005/05/addressing/none" > http://tempuri.org/IStockMarket/dumpStockValue </Action>

</s:Header>


<s:Body>


<dumpStockValue xmlns=" http://tempuri.org/" >

<strSymbol>threadID-14-16-16</strSymbol>


</dumpStockValue>


</s:Body>


</s:Envelope>
**start of new WCF Request***




WCF Request’s raw message on a thread



ServiceModelTimeTaken cannot tell us on which thread these WCF requests are getting executed. So we have to go to individual threads and dump the stack objects.



To dump the WCF raw incoming message, we need to follow these steps :





  1. Run !dso – to dump the stack objects




  2. Search for Operation Context




  3. Run !do on the Operation Context




  4. Search for Request Context



  5. Run !do on the Request Context


  6. Search for Request Message


  7. Run !do on the Request Message


  8. Search for Message Data


  9. Run !do on the Message Data


  10. Search for buffer


  11. This buffer is a byte[]


  12. Use .printf to print byte array contents




0:043> !dso


OS Thread Id: 0x27b8 (43)


RSP/REG          Object           Name
………..


000000002029E7F8 00000000026b9ce8 System.ServiceModel.ServiceHost


000000002029E800 0000000002869e48 System.ServiceModel.OperationContext


000000002029E820 00000000028d24a8 System.ServiceModel.Dispatcher.DispatchOperationRuntime
…..
0:043> !do 0000000002869e48


Name:        System.ServiceModel.OperationContext


MethodTable: 000007ff0049b2b8


EEClass:     000007ff004a8e50


Size:        136(0x88) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll


Fields:


MT    Field   Offset                 Type VT     Attr            Value Name


000007ff0049a328  4003008        8 ...ls.ServiceChannel  0 instance 00000000028ffd08 channel


000007ff002e9c68  4003009       10 ....Channels.Message  0 instance 0000000000000000 clientReply


000007feebbbd440  400300a       78       System.Boolean  1 instance                0 closeClientReply


0000000000000000  400300b       18                       0 instance 0000000000000000 extensions


000007ff0027c118  400300c       20 ...l.ServiceHostBase  0 instance 00000000026b9ce8 host


000007ff003f3df0  400300d       28 ...ls.RequestContext  0 instance 000000000280e3f0 requestContext


000007ff002e9c68  400300e       30 ....Channels.Message  0 instance 000000000280e860 request


000007ff00475db0  400300f       38 ...l.InstanceContext  0 instance 0000000002869f88 instanceContext


000007feebbbd440  4003010       79       System.Boolean  1 instance                0 isServiceReentrant


000007feebbd1d70  4003011       40 ...ncipal.IPrincipal  0 instance 0000000000000000 threadPrincipal


000007ff004eebb0  4003012       48 ...ansactionRpcFacet  0 instance 0000000000000000 txFacet


000007ff004e41a0  4003013       50 ...MessageProperties  0 instance 0000000000000000 outgoingMessageProperties


000007ff004e54b8  4003014       58 ...ls.MessageHeaders  0 instance 0000000000000000 outgoingMessageHeaders


000007ff003a5998  4003015       60 ...ls.MessageVersion  0 instance 0000000002859580 outgoingMessageVersion


000007ff003b4a50  4003016       68 ...ndpointDispatcher  0 instance 000000000270ec90 endpointDispatcher


000007feebbcde18  4003017       70  System.EventHandler  0 instance 0000000000000000 OperationCompleted


000007ff004ef160  4003007        8 ...ionContext+Holder  0 TLstatic  currentContext


>> Thread:Value <<


0:043> !do 000000000280e3f0


Name:        System.ServiceModel.Channels.HttpRequestContext+ListenerHttpContext


MethodTable: 000007ff004e3700


EEClass:     000007ff004d6278


Size:        104(0x68) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll


Fields:


MT    Field   Offset                 Type VT     Attr            Value Name


000007feebbd90d8  40001a1       28      System.TimeSpan  1 instance 000000000280e418 defaultSendTimeout


000007feebbd90d8  40001a2       30      System.TimeSpan  1 instance 000000000280e420 defaultCloseTimeout


000007ff0027b750  40001a3       20         System.Int32  1 instance                2 state


000007ff002e9c68  40001a4        8 ....Channels.Message  0 instance 000000000280e860 requestMessage


000007feebbb6af0  40001a5       10     System.Exception  0 instance 0000000000000000 requestMessageException


000007feebbbd440  40001a6       24       System.Boolean  1 instance                0 replySent


000007feebbbd440  40001a7       25       System.Boolean  1 instance                0 replyInitiated


000007feebbbd440  40001a8       26       System.Boolean  1 instance                0 aborted


000007feebbb5880  40001a9       18        System.Object  0 instance 000000000280e458 thisLock


000007ff00518628  4000823       38 ...annels.HttpOutput  0 instance 0000000000000000 httpOutput


000007ff004e3d18  4000824       40 ...hannels.HttpInput  0 instance 000000000280e470 httpInput


000007ff003fd7e8  4000825       48 ...tpChannelListener  0 instance 000000000270d780 listener


000007ff004e4580  4000826       50 ...tyMessageProperty  0 instance 0000000000000000 securityProperty


000007feeaee9680  4000832       58 ...tpListenerContext  0 instance 00000000027b1370 listenerContext


0:043> !do 000000000280e860


Name:        System.ServiceModel.Channels.BufferedMessage


MethodTable: 000007ff004e6c98


EEClass:     000007ff004da290


Size:        80(0x50) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll


Fields:


MT    Field   Offset                 Type VT     Attr            Value Name


000007ff002e9b08  4000783       10         System.Int32  1 instance                1 state


0000000000000000  4000784        8 ...eMessageNavigator  0 instance 0000000000000000 messageNavigator


000007feebbbd440  400344a       14       System.Boolean  1 instance                0 isFault


000007feebbbd440  400344b       15       System.Boolean  1 instance                0 isEmpty


000007ff004e54b8  4003456       18 ...ls.MessageHeaders  0 instance 00000000027b1b18 headers


000007ff004e41a0  4003457       20 ...MessageProperties  0 instance 000000000280e8b0 properties


000007ff004e62f0  4003458       28 ...fferedMessageData  0 instance 000000000280e738 messageData


000007ff004e6908  4003459       30 ...ycledMessageState  0 instance 000000000280e830 recycledMessageState


000007fee5c61128  400345a       38 ...lDictionaryReader  0 instance 0000000000000000 reader


000007ff004e8e70  400345b       40 ...AttributeHolder[]  0 instance 0000000002727028 bodyAttributes


0:043> !do 000000000280e738


Name:        System.ServiceModel.Channels.TextMessageEncoderFactory+TextMessageEncoder+UTF8BufferedMessageData


MethodTable: 000007ff004e6730


EEClass:     000007ff004da0e0


Size:        104(0x68) bytes


File:        C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll


Fields:


MT    Field   Offset                 Type VT     Attr            Value Name


000007feec5a0608  40001c5       30 ....Byte, mscorlib]]  1 instance 000000000280e768 buffer


000007ff00492c00  40001c6        8 ...els.BufferManager  0 instance 00000000027171e0 bufferManager


000007feebbbc610  40001c7       20         System.Int32  1 instance                1 refCount


000007feebbbc610  40001c8       24         System.Int32  1 instance                0 outstandingReaders


000007feebbbd440  40001c9       28       System.Boolean  1 instance                0 multipleUsers


000007ff004e6908  40001ca       10 ...ycledMessageState  0 instance 0000000000000000 messageState


000007ff004e6ea8  40001cb       18 ...em.ServiceModel]]  0 instance 0000000002725020 messageStatePool


000007ff003fec50  400356a       40 ...extMessageEncoder  0 instance 000000000270e0b8 messageEncoder


000007ff004e7210  400356b       48 ...e.Serialization]]  0 instance 000000000280e7a0 readerPool


000007fee5c61090  400356c       50 ...ionaryReaderClose  0 instance 000000000280e7f0 onClose


000007feebbc3728  400356d       58 System.Text.Encoding  0 instance 00000000026688a8 encoding


0:043> dq 000000000280e768 l1


00000000`0280e768  00000000`0280e620

0:043> .printf "%ma", (0280e620 + 0x10)


<s:Envelope xmlns:s=" http://schemas.xmlsoap.org/soap/envelope/" ><s:Body><dumpStockValue xmlns=" http://tempuri.org/" ><strSymbol>threadID-14-28-28</strSymbol></dumpStockValue></s:Body></s:Envelope>






This above raw WCF message is same as the ServiceModelTimeTaken’s _dumpIncomingMessage