Inspect, understand and debug Java bytecode, no matter if you have the corresponding source.
To install Bytecode Visualizer via
Eclipse Marketplace Client
drag and drop the install button into a running Eclipse Indigo workspace.
Control Flow Graph Panel helps to understand the execution paths of the given method | ||||
Signatures of classes, fields and methods rendered as in java source |
|
|
||
The opcodes of instructions represented by their mnemonics as specified in The Java Virtual Machine Specification |
|
|||
Comments making it easy to understand the instructions and their parameters |
|
|||
Easy-to-follow scope of exception handlers (see also Preferences) |
|
|||
Line Number Table and Local Variable Table as a comment (see also Preferences) |
|
|||
|
||||
Two tabs for easy switching between bytecode and source code (see also Preferences) |
Control Flow Graph Panel can be displayed in a split pane (picture above) or in a freely dockable view as shown in the picture on the right (see also Preferences)
Two alternative representations of Control Flow Graphs are supported:
|
The Class File Outline is both ways synchronized with the Bytecode Viewer: by clicking the method in outline, the viewer scrolls to the given method and vice versa |
See also: How to Debug Bytecode with Bytecode Visualizer.
Single Instruction Stepping Buttons | |||
|
|||
Supported breakpoints:
|
|
||
Breakpoints can be set by double clicking the left ruler |
|
||
|
|||
Dr. Garbage Bytecode Debugger works even for classes without Line Number Table |
The behavior of Bytecode Visualizer is adjustable in many respects, just go to
Window > Preferences > Dr. Garbage > Bytecode Visualizer
and adjust the preferences to suit your needs:
Window > Preferences > General > Editors > File Associations
This influences the behavior of several Eclipse actions, e.g. Open Declaration (CTRL-Click or F3), Step Into in Debugger, etc.