开发者

What is "bci" while debugging in jdb?

While debugging with jdb on the command line, it shows me a status line after each step that looks like this:

Step completed: "thread=main", [class name].[method], line=10 bci=20

What is bci and how can it be 开发者_如何学编程useful to me?


It means byte code index . A single line, even a single Java statement, may translate to several bytecode instructions. The byte code index tells you which bytecode instruction was executed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜