最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - When does the (eclipse) debugger stop after clicking the suspend button? - Stack Overflow

programmeradmin6浏览0评论

I have some code that I would like to be performant.

I rewrote that code to not allocate objects (as much as possible).

Now, when I run that code in Eclipse and I hit the suspend button the debugger always shows the same line of code. (A line without breakpoint.) (In all threads.)

(I would think, if my code is performant that the debugger would stop at random places in the code.)

As soon as I hit the suspend button, what does the debugger still do until it shows me the "currently" executing code?

How does the debugger work?

Does the debugger stops at the slowest line of code?

I don't know whether this is relevant but I use Graal.

发布评论

评论列表(0)

  1. 暂无评论