HxcppObjectGraphViewer
No description available
Install / Use
/learn @james4k/HxcppObjectGraphViewerREADME
hxcppObjectGraphViewer
An experimental object graph viewer for hxcpp.
Will need this object-graph branch: https://github.com/james4k/hxcpp/commits/object-graph
To use, build your app with -DHXCPP_GC_DUMP_OBJECT_GRAPH,
which will cause the program to dump an object_graph.csv file
in the working directory <s>after every GC</s> at peak memory usage. Select this file in
the file selection dialog when you run hxcppObjectGraphViewer.
The user interface is extremely crude right now. Here is how to use it:
- Click on a row in the overview table to see a list of each object in that group.
- Click on an object address to browse via its references and see the object's roots.
- Use the up and down arrow keys to adjust the
incl_walk_depthvalue for computingincl_size. incl_walk_depthis inclusive walk depth.incl_sizeis inclusive size, or the size of the object and any of the objects it refers to, recursively, up to a depth ofincl_walk_depth.excl_sizeis exclusive size, or the size of the object alone.n_instis number of instances.- There is no scrolling yet, sorry. Will be done when scrollRect is usable.
