I'm getting StackOverflowErrors in the variable watches when debugging in my IDE. I need to be able to see what's going on in a debugger because of the other issue preventing me from seeing the root cause of an injection error (#19).
To Reproduce
public class BuilderSpecs {
interface IDependency {};
class DependencyImpl implements IDependency {};
@Test
void toStringDoesNotCauseStackOverflow() {
InjectMaid.anInjectMaid()
.withImplementation(IDependency.class, DependencyImpl.class)
.toString();
}
}
(there might be a simpler reproduction, but this is the shortest I could come up with)
Here is an example screenshot of what the user experiences in the IDE. Each of the collecting data... eventually turns out to yield StackOverflowError. Sometimes it is immediate, sometimes is takes a few seconds.
I suspect this problem is also the reason that I cannot debug the stream in States.update()
Expected behavior
No StackOverflowError
Ability to debug the States.update() stream in the absence of a fix for #19
Describe the bug
I'm getting StackOverflowErrors in the variable watches when debugging in my IDE. I need to be able to see what's going on in a debugger because of the other issue preventing me from seeing the root cause of an injection error (#19).
To Reproduce
(there might be a simpler reproduction, but this is the shortest I could come up with)
Here is an example screenshot of what the user experiences in the IDE. Each of the
collecting data...
eventually turns out to yield StackOverflowError. Sometimes it is immediate, sometimes is takes a few seconds.I suspect this problem is also the reason that I cannot debug the stream in States.update()
Expected behavior
Environment description N/A
Additional context N/A