filmov
tv
How to use Java bytecode debugger

Показать описание
This video shows how to open a Java source code file, compile it, set a breakpoint, switch among threads, perform stepi, introduce an intended data race, check variable reads and writes.
UI, left:
Thread area: switch among the threads, so that you can perform stepi /step into / step over / step return to the selected thread.
Watchpoints: add variables you want to monitor here. History keeps track of the reads and writes.
Breakpoints: list the breakpoints.
Local Variables: show their values.
UI, center:
Source code file area: you can set a breakpoint by double clicking on the line number.
UI bottom:
Output area
UI right:
Bytecode area: the related bytecode to the source code file. As the breakpoint is marked with a blue dot, the corresponding bytecode lines to this breakpoint is marked with orange squares.