Exemplo n.º 1
0
        private void OpenHeapshot(string fileName)
        {
            this.heapshotReader = new HeapshotReader();
            string text = this.HeapshotPath + "/" + fileName;

            if (this.heapshotReader.Open(text))
            {
                this.lastOpenedHeapshotFile = fileName;
                this.RefreshHeapshotUIObjects();
            }
            else
            {
                Debug.LogError("Failed to read " + text);
            }
        }
Exemplo n.º 2
0
 private void OpenHeapshot(string fileName)
 {
     this.heapshotReader = new HeapshotReader();
     string str = this.HeapshotPath + "/" + fileName;
     if (this.heapshotReader.Open(str))
     {
         this.lastOpenedHeapshotFile = fileName;
         this.RefreshHeapshotUIObjects();
     }
     else
     {
         Debug.LogError("Failed to read " + str);
     }
 }
Exemplo n.º 3
0
			public HeapshotUIObject(string name, HeapshotReader.ObjectInfo refObject, bool inverseReference)
			{
				this.name = name;
				this.obj = refObject;
				this.inverseReference = inverseReference;
			}
Exemplo n.º 4
0
			public ObjectInfo(HeapshotReader.TypeInfo typeInfo, uint size, HeapshotReader.ObjectType type)
			{
				this.typeInfo = typeInfo;
				this.size = size;
				this.type = type;
			}
Exemplo n.º 5
0
			public ReferenceInfo(HeapshotReader.ObjectInfo refObj, HeapshotReader.FieldInfo field)
			{
				this.referencedObject = refObj;
				this.fieldInfo = field;
			}
Exemplo n.º 6
0
 public ObjectInfo(HeapshotReader.TypeInfo typeInfo, uint size, HeapshotReader.ObjectType type)
 {
     this.references = new List<HeapshotReader.ReferenceInfo>();
     this.inverseReferences = new List<HeapshotReader.BackReferenceInfo>();
     this.typeInfo = typeInfo;
     this.size = size;
     this.type = type;
 }