facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.
MIT License
9.13k stars 803 forks source link

Added FBPrintWindow command #239

Closed PeteTheHeat closed 6 years ago

PeteTheHeat commented 6 years ago

I've been working with input accessory views quite a bit. They've been annoying to debug because they don't live in the main key window, they are hosted in the Keyboard's window. I added a short chisel command locally to make printing a window easy. Let me know if this is something useful for the library.

kastiglione commented 6 years ago

Thanks Pete. I like it. I have some thoughts.

This is the same as pviews, except pviews is hard coded to use keyWindow. What do you think about making this a flag on pviews? For example: pviews -w 0, pviews -w 1, etc.

kastiglione commented 6 years ago

@PeteTheHeat what do you think about my suggestion?

PeteTheHeat commented 6 years ago

Yeah that makes sense! Let me update it.

kastiglione commented 6 years ago

thanks!