llmhyy / microbat

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

Disable testmode for Premain #246

Open bchenghi opened 1 year ago

bchenghi commented 1 year ago

When Premain is in testmode, it will always re-extract sav.commons.simplified.jar and instrumentator_agent_v02.jar. This is because line 90 in microbat.instrumentation.Premain is always false. This leads to crashes when running the instrumentator.jar in multiple threads, as the files are being overwritten. Turning off testMode fixes this issue.