{"id":193,"date":"2006-11-30T20:20:00","date_gmt":"2006-11-30T20:20:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/maoni\/2006\/11\/30\/not-seeing-the-wks-and-the-svr-namespace\/"},"modified":"2021-10-04T16:34:00","modified_gmt":"2021-10-04T23:34:00","slug":"not-seeing-the-wks-and-the-svr-namespace","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/not-seeing-the-wks-and-the-svr-namespace\/","title":{"rendered":"Not seeing the WKS:: and the SVR:: namespace?"},"content":{"rendered":"<p><P class=\"MsoNormal\"><SPAN><FONT face=\"Verdana\">These namespaces were introduced in CLR 2.0. For example for the <\/FONT><\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN><\/SPAN>&nbsp;<\/P>\n<P class=\"MsoNormal\"><SPAN>GCHeap::GcCondemnedGeneration<\/SPAN><\/P>\n<P class=\"MsoNormal\"><FONT face=\"Verdana\"><SPAN><\/SPAN><\/FONT>&nbsp;<\/P>\n<P class=\"MsoNormal\"><FONT face=\"Verdana\"><SPAN>symbol, it&#8217;s WKS::GCHeap::GcCondemnedGeneration for Workstation GC and SVR::GCHeap::GcCondemnedGeneration for Server GC (if you are reading the <\/SPAN><SPAN><A href=\"http:\/\/msdn.microsoft.com\/msdnmag\/issues\/06\/11\/CLRInsideOut\/default.aspx?loc=en\"><SPAN>Investigating Memory Issues<\/SPAN><\/A><\/SPAN><SPAN> article in the recent MSDN magazine and are trying out some of the debugger commands mentioned in there).<\/SPAN><\/FONT><\/P>\n<P class=\"MsoNormal\"><SPAN><FONT face=\"Verdana\"><\/FONT><\/SPAN>&nbsp;<\/P>\n<P class=\"MsoNormal\"><SPAN><FONT face=\"Verdana\">If you are using CLR 1.1 or prior, the Workstation version lives in mscorwks.dll while the Server version lives in mscorsvr.dll so the symbol names are not prefixed with WKS:: or SVR::. So the breakpoint<\/FONT><\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN><\/SPAN>&nbsp;<\/P>\n<P class=\"MsoNormal\"><SPAN>bp mscorwks!<\/SPAN><SPAN>WKS::<\/SPAN><SPAN>GCHeap::RestartEE &#8220;j (dwo(mscorwks!<\/SPAN><SPAN>WKS::<\/SPAN><SPAN>GCHeap::GcCondemnedGeneration)==2) &#8216;kb&#8217;;&#8217;g'&#8221;<\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN>&nbsp;<\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN><FONT face=\"Verdana\">should be<\/FONT><\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN>&nbsp;<\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN>bp mscorwks!GCHeap::RestartEE &#8220;j (dwo(mscorwks! GCHeap::GcCondemnedGeneration)==2) &#8216;kb&#8217;;&#8217;g'&#8221;<\/SPAN><\/P>\n<P class=\"MsoNormal\"><SPAN><\/SPAN>&nbsp;<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These namespaces were introduced in CLR 2.0. For example for the &nbsp; GCHeap::GcCondemnedGeneration &nbsp; symbol, it&#8217;s WKS::GCHeap::GcCondemnedGeneration for Workstation GC and SVR::GCHeap::GcCondemnedGeneration for Server GC (if you are reading the Investigating Memory Issues article in the recent MSDN magazine and are trying out some of the debugger commands mentioned in there). &nbsp; If you are [&hellip;]<\/p>\n","protected":false},"author":3542,"featured_media":58792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685],"tags":[3011],"class_list":["post-193","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","tag-maoniposts"],"acf":[],"blog_post_summary":"<p>These namespaces were introduced in CLR 2.0. For example for the &nbsp; GCHeap::GcCondemnedGeneration &nbsp; symbol, it&#8217;s WKS::GCHeap::GcCondemnedGeneration for Workstation GC and SVR::GCHeap::GcCondemnedGeneration for Server GC (if you are reading the Investigating Memory Issues article in the recent MSDN magazine and are trying out some of the debugger commands mentioned in there). &nbsp; If you are [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/3542"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}