summaryrefslogtreecommitdiff
path: root/DevTools/Inspector
AgeCommit message (Collapse)Author
2019-09-21LibCore: Convert CLocalSocket to ObjectPtrAndreas Kling
2019-09-11Inspector+LibCore+rpcdump: Rework the RPC stuff to be request/responseAndreas Kling
RPC clients now send JSON-encoded requests to the RPC server. The connection also stays alive instead of disconnecting automatically after the initial CObject graph dump. JSON payloads are preceded by a single host-order encoded 32-bit int containing the length of the payload. So far, we have three RPC commands: - Identify - GetAllObjects - Disconnect We'll be adding more of these as we go along. :^)
2019-09-11Inspector: Don't call CSocket::connect() before setting up hooksAndreas Kling
2019-09-06AK: Rename <AK/AKString.h> to <AK/String.h>Andreas Kling
This was a workaround to be able to build on case-insensitive file systems where it might get confused about <string.h> vs <String.h>. Let's just not support building that way, so String.h can have an objectively nicer name. :^)
2019-08-19Inspector: Show remote object properties in a table viewAndreas Kling
This patch expands the object model of this program quite a bit. We now have a RemoteProcess object that contains a list of remote root RemoteObject objects. The RemoteProcess vends a RemoteObjectGraphModel&, and indices in that model have internal_data() pointing to a corresponding RemoteObject. RemoteObjects in turn vend a RemoteObjectPropertyModel&, which is what we use to show the object properties. This is pretty cool :^)
2019-08-19Inspector: Add a missing "override" in RemoteObjectGraphModelAndreas Kling
2019-08-19Inspector: Show GWindows with a little window icon.Andreas Kling
2019-08-18Inspector: Implement RemoteObjectGraphModel::parent_index()Andreas Kling
This makes GTreeView paint the tree lines correctly. It's a bit weird that this is needed, but straightforward to implement so meh.
2019-08-18Inspector: Add a custom 16x16 icon to represent objectsAndreas Kling
Behold, my finest "1990's OOP cube icon" :^)
2019-08-18Inspector: Add a GUI tool for viewing a remote process's CObject graphAndreas Kling
Here comes the foundation for a neat remote debugging tool. Right now, it connects to a remote process's CEventLoop RPC socket and retreives the remote object graph JSON dump. The remote object graph is then reconstructed and exposed through a GModel subclass, which is then displayed in a GTreeView. It's pretty cool, I think. :^)