llmhyy / microbat

A feedback-based debugger for interactively recommending suspicious step in buggy program execution.
54 stars 15 forks source link

ClassCircularityError in ExecutionTracer._getTracer #228

Open sianghwee opened 2 years ago

sianghwee commented 2 years ago

While running Tregression on Lang 17, an infinite loop occurs when Microbat search within the library class. Tracing the error narrows it down to microbat.instrumentation.runtime.ExecutionTracer._getTracer which seems to have entered an infinite loop, resulting in a StackOverflowError being thrown. The cause for the error seems to be a ClassCircularityError which might have to do with how the library classes are added.

image

I have attached the Lang 17 test case here for further debugging. https://drive.google.com/file/d/1gUYYPUMzlKtZDDmPawqtcVL5Ln5PXGaT/view?usp=sharing