@ -180,6 +180,7 @@ export class Ethdebugger {
unLoad () {
this.traceManager.init()
this.codeManager.clear()
this.solidityProxy.reset()
this.event.trigger('traceUnloaded')
}
@ -20,6 +20,14 @@ export class SolidityProxy {
this.compilationResult = compilationResult
/**
* reset the cache and apply a new @arg compilationResult
*
*/
reset () {
this.cache.reset()
* retrieve the compiled contract name at the @arg vmTraceIndex (cached)