Hi all,
My app built with RB2007r1 on osx ppc and running on osx ppc seems to
hard crash from time to time without warning and without a crash report.
I am trying to debug and I now have a window with the following code
which allows me to view all objects, their ids and number of references:
Dim i, total as Integer
total=Runtime.ObjectCount
For i=0 to total-1
Listbox1.addrow Str(Runtime.ObjectID(i))
Listbox1.Cell(ListBox1.LastIndex,1)=Runtime.ObjectClass(i)
Listbox1.Cell(ListBox1.LastIndex,2)= Str(Runtime.ObjectRefs(i))
Next
EditField1.text= Str(Runtime.memoryUsed)
Is there any way of getting some more information about each object?
One object called "TextEncoding" has an increasing number of
references while the app is running - it's now up to 1800 references
after 24 hours and growing. Is there anyway of locating this object
within my code? I have its object id which gets added to the listbox
- can that help me to locate the object in my code?
Thanks
Jeff
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>