Open vkorenev opened 9 years ago
Actually, I didn't imply such possibility. I tried to remove the option to debug from the context menu, but haven't succeeded in 1 hour and going to give up on it :)
Try debugging with @Fork(0)
, worked for me :)
Fork 0 worked for me to debug in Eclipse.
For reference, @Fork(0)
didn't work for me in IntelliJ, the Debug button still seems to do nothing when the compilation is finished.
After adding the JMH plugin to Idea you may have to enable annotation processing.
@paplorinc I seem to have annotation processing enabled (under Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors). Is this the same setting you were thinking about or something else?
Try attaching a main
method to it, like: http://hg.openjdk.java.net/code-tools/jmh/file/5984e353dca7/jmh-samples/src/main/java/org/openjdk/jmh/samples/JMHSample_01_HelloWorld.java#l95
Please try with:
IMHO it's a "synchronization" between the JMH annotations processing (code generation) and the IntelliJ IDEA.
When I press debug button the project is compiled but after that nothing happens.