Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在命令行上使用 jdb 进行调试时,它会在每个步骤之后显示一个状态行,如下所示:
Step completed: "thread=main", [class name].[method], line=10 bci=20
什么是 bci,它对我有什么用处?
这意味着byte code index。一行,甚至是一条 Java 语句,都可能转换为多个字节码指令。字节码索引告诉您执行了哪个字节码指令。
byte code index