You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, debuggers usually call toString() on the variables, so it is just reflecting what is actually happening. What would you expect happening, when you manually evaluate something in the debugger, should that also not trigger the mocking behavior?
Describe the bug
When breakpoints are triggered using a Java debugger the method invocation count becomes broken.
To Reproduce
Running the following without a debugger attached passes:
However, running the code with a debugger attached, with breakpoints at each line, fails returning the following:
Expected behavior
The test to pass when both debugging and not debugging.
Actual behavior
The test fails.
Java version
Buildtool version
What operating system are you using
Windows
Dependencies
Additional context
I attached the debugger using the IntelliJ debug tool. The debug command:
IntelliJ version:
pom.xml
plugin config:The text was updated successfully, but these errors were encountered: