Hi, does anyone know how you get information of objects while a program is running. So you would have a running program, and another program would aquire information on object creations, attribute change, references(to other objects) and object deletion through the garbage collection. The whole purpose of this is to draw a object diagram in real-time, with changes such as references also happenign in real-time as a high-level view. I looked at reflections but i dont see how reflections can get object information(which can change) other than if it was in a running thread. Is it possible to access the VM that is used by the program to get the information or is there a simpler solutions. (What im doign is similer to creating a debugging program).
thanks for your help
posted 11 years ago
Note that JPDA provides the architecture to build a debugger application. SUN also provides a reference implementation.