microsoft/DbgShell

PEB not included in process level namespace

Zhentar opened this issue · 1 comments

I wanted to see the PEB for my process. Since the thread namespace includes a Teb, I figured there'd be a matching Peb in the process namespace, but alas, there is not. (I did eventually figure out that there is a $peb variable, at least)

Thank you for the feedback!

Yes, there are lots of things missing from the namespace. My current idea for attempting to deal with this wholesale is to try to use the shiny new Debugger Data Model to integrate with the namespace-like stuff exposed by it (a la dx -r2 @$curthread.Environment or dx Debugger.State.PseudoRegisters). However that is an XL work item, which I do not have a definite schedule for. (I don't think I've even filed an issue for it yet; it's daunting!)