TravaOpenJDK / trava-jdk-11-dcevm

dcevm-11 built on Travis
Apache License 2.0
403 stars 57 forks source link

Breakpoints not working in Intellij #29

Closed cdalexndr closed 2 years ago

cdalexndr commented 3 years ago

After "Mute Breakpoints" and unmute, all breakpoints are not responding (execution doesn't stop at breakpoint). This only happens when using the hotswap agent, without it, breakpoints work fine.

Dcevm-11.0.8+1 Intellij 2019.2

cdalexndr commented 3 years ago

Breakpoints randomly stop working, adding new breakpoints don't work, in summary it's not usable.

Using 'Spring Boot' run/debug configuration. Also using aspectj runtime weaver javaagent.

skybber commented 3 years ago

Problem is in IDE, Eclipse does not have such problem. Is the v11.0.7 working for you?

cdalexndr commented 3 years ago

Same issues with 11.0.7+4

skybber commented 3 years ago

What about some more recent Intellij ?

cdalexndr commented 3 years ago

Not reproductible with Intellij IDEA 2020.2. Closing as IDE bug that was fixed in recent release.

cdalexndr commented 3 years ago

Actually still getting intermitent problems. Seems that dcevm support is poor in IDEA.

cdalexndr commented 3 years ago

Tried with compile time weaving instead of load time weaving, with same results. New breakpoints do not register.

skybber commented 3 years ago

There are som bug fixes related to debuging in last release: https://github.com/TravaOpenJDK/trava-jdk-11-dcevm/releases/tag/dcevm-11.0.9%2B2

cdalexndr commented 3 years ago

Issue still present

sarahcpage commented 3 years ago

intellij idea ultimate 2020.3 debugger - muted all breakpoints - unmute changed them from solid white back to solid red but none are hit when they definitely should be... newly-added breakpoints also showing solid red but still not hit. Stopping and restarting the debugger seemed to fix the problem. Capture

skybber commented 2 years ago

Last jbr runtime should solve many issues with dcevm https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr11_0_12b1751.11