-
-
Notifications
You must be signed in to change notification settings - Fork 703
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
Cant debug in IntelliJ with Allure2 and aspectj in my pom.xml #809
Comments
This is the part in pom.xml I had to comment out so that I can debug in intellij
|
This happens only when debugging inside the @step methods |
@breinjhel this happen, because then you run junit tests from IntelliJ IDEA allure junit4 listener is not connected. My solution is maven profile, that active ONLY then you run test localy from IntelliJ IDEA
|
@simple-elf I tried doing that but still cant debug/evaluate codes in intellij. Im using the intellij test runner though i run it from intellij not maven so maybe thats why ? |
@simple-elf And also can I ask what allure-junit4-aspect is for? Wont the report generate without that just fine? |
Im thinking this is due to Aspectj dynamic weaver that was added on v 1.8.7 so everytime i debug while running aspectj i cant evaluate any code in intellij saying 'this is not available' |
closing because this is not an Allure issue |
I'm submitting a ...
What is the current behavior?
Not sure if this is where I should post this but right now when I try to debug my code using IntelliJ with Allure and aspectj enabled Im getting 'this is not available' in debugger window when I try to evaluate a piece of code. If I remove the aspectj related stuff in pom.xml then debugging works fine
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
I should be able to debug even with Allure and aspectj in pom.xml
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: