Skip to content

james4k/hxcppObjectGraphViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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 after every GC 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_depth value for computing incl_size.
  • incl_walk_depth is inclusive walk depth. incl_size is inclusive size, or the size of the object and any of the objects it refers to, recursively, up to a depth of incl_walk_depth. excl_size is exclusive size, or the size of the object alone. n_inst is number of instances.
  • There is no scrolling yet, sorry. Will be done when scrollRect is usable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages