Re: Object Inspector



Hi Thomas,

Are you sure it is failing with the OI? If the SomeObject property
is read-only, you must be creating the object the property refers
to somewhere, which creates another MyObject, which creates
SomeObject, etc, etc. If it is meant to be a reference to
another TMyObject, there must be a write somewhere.

the SomeObject property is read-only but its value is set by
another procedure local to the TMyObject class [I am sorry I left
that info out, but I was trying to simlplify]

My real issue is when some/all these references are *circular
references*.

Don't get me wrong, having circular references isn't a bad thing
in my app --on the contrary, they are there by design-- and the
app works as expected with circular references.

It only becomes an issue when I need to use an OI.

I need an OI simply to check and see (and modify when needed)
that the object cloud I have set up has the correct data and
is pointing to correct objects etc.

Basically --in my case-- what I need is an OI that does not
try to be as clever.

IOW, if I could instruct the OI to recurse only to a certain number
of levels, life would be fine.

I have been able to do this with Jedi's JvInspector and it works [I have hacked/modified the OnBeforeItemCreate()]

The trouble with JvInspector is that (apart from the source) it is
undocumented which means I have to spend a disproportionate amount
of time to get it to do other things I need done.

If it is a reference, then the OICS from my company
(http://www.riversoftavg.com/object_inspector.htm)
works with the following code

I have looked at your page. There are a number of issues I have there:

i) The demo/evaluation version is v1.16 while the latest advertised version (on product page) one is v1.3. There seems to be quite a
number of versions since the eval product released. I would be likely
to misjudge (pr waste my time with) an old 'model'..

ii) More importantly, your page states that "The evaluation version is limited to showing top-level properties".. in this case i am likely not
to see whether it works in my case at all.

Could I try out a newer version that goes beyond top levels (BTW, if you intend to send me a compiled copy, do not use the email address in this post, it is a spam-catch address only)

Cheers,
Adem
.



Relevant Pages

  • Re: Add and object or a function?
    ... Closures produce less obvious circular references, ... produce a circular reference (The ID causes a global property to refer ... No. 'Better' cannot be reasonably assessed without a context to provide ...
    (comp.lang.javascript)
  • Re: IDE dies during compile
    ... > fairly sure there are no circular references or EVERYONE would be having ... Yeah everyones cpu spikes/bursts for this kind of request, i was more interested in sustained ... If it falls over before it even hits ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Memory Leak IE Javascript attribute add onblur
    ... and breaking circular chains of references usually involves ... It is better to break only the circular references you mad in your ... DOM leaks go away. ... Ajax is pretty, but always seems to cause more problems than it's ...
    (comp.lang.javascript)
  • Re: Setting variables to Nothing
    ... >immediately before it was automatically set to nothing was ... >or lost references, and the only solution is to avoid problems ... >Circular references can be broken by setting the references ... This is a coding practice. ...
    (microsoft.public.access.modulesdaovba)