Note: This feature is experimental.
In addition to displaying class files from file system and JARs (which is the default option), Bytecode Visualizer 3.5 and Bytecode Visualizer 3.4SR1 are also able to visualize classes as they are loaded in a running Java Virtual Machine (JVM).
This preference may be set under
Window > Preferences > Dr. Garbage > Bytecode Visualizer > General
This may be important in situations when a class loaded in a running JVM differs from its file system counterpart. There are several motivations why this may be done:
And there are several ways how this can be accomplished:
No matter how and why a class was changed after its compilation, Bytecode Visualizer 3.5 is able to display its actual appearance within a running JVM. To achieve this, Bytecode Visualizer uses Java Debug Interface (JDI).
In the following, some limitations of JDI are addressed.
JDI vs. Filesystem
Capabilities of Distinct JDI and JVM Versions
JDI capabilities of Bytecode Visualizer 3.5 can be used when you run Eclipse with Java 5 or Java 6.
Dr. Garbage strongly recommends using Java 6.
If you are - for some reason - forced to run Bytecode Visualizer with Java 5,
you will have to do without some information:
Other Limitations