|
|
@ -412,6 +412,17 @@ ApplicationWindow { |
|
|
|
model: memModel |
|
|
|
model: memModel |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SplitView { |
|
|
|
|
|
|
|
orientation: Qt.Vertical |
|
|
|
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
|
|
TableView { |
|
|
|
|
|
|
|
property var debuggerLog: ListModel { |
|
|
|
|
|
|
|
id: debuggerLog |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
TableViewColumn{ role: "value"; title: "Debug messages" } |
|
|
|
|
|
|
|
model: debuggerLog |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
TableView { |
|
|
|
TableView { |
|
|
|
property var stackModel: ListModel { |
|
|
|
property var stackModel: ListModel { |
|
|
|
id: stackModel |
|
|
|
id: stackModel |
|
|
@ -449,6 +460,10 @@ ApplicationWindow { |
|
|
|
function setStack(stack) { |
|
|
|
function setStack(stack) { |
|
|
|
stackModel.append({value: stack}) |
|
|
|
stackModel.append({value: stack}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function addDebugMessage(message){ |
|
|
|
|
|
|
|
console.log("WOOP:") |
|
|
|
|
|
|
|
debuggerLog.append({value: message}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function clearStack() { |
|
|
|
function clearStack() { |
|
|
|
stackModel.clear() |
|
|
|
stackModel.clear() |
|
|
|