|
|
@ -14,6 +14,23 @@ ApplicationWindow { |
|
|
|
width: 1290 |
|
|
|
width: 1290 |
|
|
|
height: 900 |
|
|
|
height: 900 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MenuBar { |
|
|
|
|
|
|
|
Menu { |
|
|
|
|
|
|
|
title: "Debugger" |
|
|
|
|
|
|
|
MenuItem { |
|
|
|
|
|
|
|
text: "Run" |
|
|
|
|
|
|
|
shortcut: "Ctrl+r" |
|
|
|
|
|
|
|
onTriggered: debugCurrent() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MenuItem { |
|
|
|
|
|
|
|
text: "Next" |
|
|
|
|
|
|
|
shortcut: "Ctrl+n" |
|
|
|
|
|
|
|
onTriggered: dbg.next() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
SplitView { |
|
|
|
SplitView { |
|
|
|
anchors.fill: parent |
|
|
|
anchors.fill: parent |
|
|
|
property var asmModel: ListModel { |
|
|
|
property var asmModel: ListModel { |
|
|
@ -158,7 +175,7 @@ ApplicationWindow { |
|
|
|
property var enabled: true |
|
|
|
property var enabled: true |
|
|
|
id: debugStart |
|
|
|
id: debugStart |
|
|
|
onClicked: { |
|
|
|
onClicked: { |
|
|
|
dbg.debug(txValue.text, txGas.text, txGasPrice.text, codeEditor.text, rawDataField.text) |
|
|
|
debugCurrent() |
|
|
|
} |
|
|
|
} |
|
|
|
text: "Debug" |
|
|
|
text: "Debug" |
|
|
|
} |
|
|
|
} |
|
|
@ -174,6 +191,10 @@ ApplicationWindow { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function debugCurrent() { |
|
|
|
|
|
|
|
dbg.debug(txValue.text, txGas.text, txGasPrice.text, codeEditor.text, rawDataField.text) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function setAsm(asm) { |
|
|
|
function setAsm(asm) { |
|
|
|
asmModel.append({asm: asm}) |
|
|
|
asmModel.append({asm: asm}) |
|
|
|
} |
|
|
|
} |
|
|
|