-
Notifications
You must be signed in to change notification settings - Fork 387
Description
There are a surprising number of commands that are only supported on Windows when (presumably) their implementation should be usable on Linux and OS X.
Here's a list of useful commands that are scoped to Windows, when they would be useful regardless of the platform:
- DumpSig
- DumpSigElem
- DumpRuntimeTypes
- VerifyHeap
- AnalyzeOOM
- VerifyObj
- ListNearObj
- GCHeapStat
- ThreadPool - maybe this is desktop clr only?
- EHInfo
- GCInfo
- FindRoots
- ObjSize
I didn't deeply inspect why each of these methods are disallowed, some are probably not useful in .Net Core anymore (like !ThreadPool maybe?). However, some of these commands are actually very important. !gcinfo, !verifyheap, !objsize, !verifyobj are all commands I use regularly on windows.
This was reported by a partner team.
Edit: I forgot to mention, the scenario here is debugging Linux coredumps in WinDbg. It would be nice if all of these worked in lldb if possible as well, but specifically here we need to unblock commands that will work in windbg.