forked from cerc-io/plugeth
info
This commit is contained in:
parent
e077cad333
commit
02ea68f1f3
@ -223,18 +223,29 @@ ApplicationWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
SplitView {
|
||||||
height: 200
|
Rectangle {
|
||||||
width: parent.width
|
height: 200
|
||||||
TableView {
|
width: parent.width * 0.66
|
||||||
id: logTableView
|
TableView {
|
||||||
property var logModel: ListModel {
|
id: logTableView
|
||||||
id: logModel
|
property var logModel: ListModel {
|
||||||
|
id: logModel
|
||||||
|
}
|
||||||
|
height: parent.height
|
||||||
|
width: parent.width
|
||||||
|
TableViewColumn{ id: message ; role: "message" ; title: "log" ; width: logTableView.width - 2 }
|
||||||
|
model: logModel
|
||||||
}
|
}
|
||||||
height: parent.height
|
}
|
||||||
width: parent.width
|
|
||||||
TableViewColumn{ id: message ; role: "message" ; title: "log" ; width: logTableView.width - 2 }
|
TextArea {
|
||||||
model: logModel
|
objectName: "info"
|
||||||
|
anchors {
|
||||||
|
top: parent.top
|
||||||
|
bottom: parent.bottom
|
||||||
|
}
|
||||||
|
readOnly: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -284,6 +284,8 @@ func (d *Debugger) halting(pc int, op ethvm.OpCode, mem *ethvm.Memory, stack *et
|
|||||||
d.win.Root().Call("setStorage", storeVal{fmt.Sprintf("% x", key), fmt.Sprintf("% x", node.Str())})
|
d.win.Root().Call("setStorage", storeVal{fmt.Sprintf("% x", key), fmt.Sprintf("% x", node.Str())})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
d.win.Root().ObjectByName("info").Set("text", fmt.Sprintf(`stack frame %v`, new(big.Int).SetBytes(mem.Get(0, 32))))
|
||||||
|
|
||||||
out:
|
out:
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
Loading…
Reference in New Issue
Block a user