Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot debug a benchmark #15

Open
vkorenev opened this issue Jul 28, 2015 · 8 comments
Open

Cannot debug a benchmark #15

vkorenev opened this issue Jul 28, 2015 · 8 comments

Comments

@vkorenev
Copy link

When I press debug button the project is compiled but after that nothing happens.

@artyushov
Copy link
Owner

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 :)

@l0rinc
Copy link

l0rinc commented May 5, 2016

Try debugging with @Fork(0), worked for me :)

@NathanSweet
Copy link

Fork 0 worked for me to debug in Eclipse.

@perlun
Copy link

perlun commented Mar 13, 2019

For reference, @Fork(0) didn't work for me in IntelliJ, the Debug button still seems to do nothing when the compilation is finished.

@l0rinc
Copy link

l0rinc commented Mar 13, 2019

After adding the JMH plugin to Idea you may have to enable annotation processing.

@perlun
Copy link

perlun commented Mar 14, 2019

@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?

@l0rinc
Copy link

l0rinc commented Mar 16, 2019

@alejandro-pushground
Copy link

Please try with:

  1. @fork(0)
  2. Rebuild Project

IMHO it's a "synchronization" between the JMH annotations processing (code generation) and the IntelliJ IDEA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants