|
|
|
@ -17,11 +17,11 @@ export const VmDebuggerHead = ({ vmDebugger: { registerEvent, triggerEvent } }) |
|
|
|
|
}) |
|
|
|
|
const [solidityState, setSolidityState] = useState({ |
|
|
|
|
calldata: null, |
|
|
|
|
message: null, |
|
|
|
|
message: null |
|
|
|
|
}) |
|
|
|
|
const [solidityLocals, setSolidityLocals] = useState({ |
|
|
|
|
calldata: null, |
|
|
|
|
message: null, |
|
|
|
|
message: null |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
@ -97,15 +97,15 @@ export const VmDebuggerHead = ({ vmDebugger: { registerEvent, triggerEvent } }) |
|
|
|
|
}, [registerEvent]) |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<div id="vmheadView" className="mt-1 px-0"> |
|
|
|
|
<div className="d-flex flex-column"> |
|
|
|
|
<div className="w-100"> |
|
|
|
|
<div id='vmheadView' className="mt-1 px-0"> |
|
|
|
|
<div className='d-flex flex-column'> |
|
|
|
|
<div className='w-100'> |
|
|
|
|
<FunctionPanel data={functionPanel} /> |
|
|
|
|
<SolidityLocals data={solidityLocals.calldata} message={solidityLocals.message} registerEvent={registerEvent} triggerEvent={triggerEvent} /> |
|
|
|
|
<SolidityState calldata={solidityState.calldata} message={solidityState.message} /> |
|
|
|
|
</div> |
|
|
|
|
<div className="w-100"><CodeListView registerEvent={registerEvent} /></div> |
|
|
|
|
<div className="w-100"><StepDetail stepDetail={stepDetail} /></div> |
|
|
|
|
<div className='w-100'><CodeListView registerEvent={registerEvent} /></div> |
|
|
|
|
<div className='w-100'><StepDetail stepDetail={stepDetail} /></div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
) |
|
|
|
|