Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
02ea68f1
Commit
02ea68f1
authored
Sep 18, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
info
parent
e077cad3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
11 deletions
+24
-11
debugger.qml
Mist/assets/debugger/debugger.qml
+22
-11
debugger.go
Mist/debugger.go
+2
-0
No files found.
Mist/assets/debugger/debugger.qml
View file @
02ea68f1
...
...
@@ -223,18 +223,29 @@ ApplicationWindow {
}
}
Rectangle
{
height
:
200
width
:
parent
.
width
TableView
{
id
:
logTableView
property
var
logModel
:
ListModel
{
id
:
logModel
SplitView
{
Rectangle
{
height
:
200
width
:
parent
.
width
*
0.66
TableView
{
id
:
logTableView
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
}
model
:
logModel
}
TextArea
{
objectName
:
"info"
anchors
{
top
:
parent
.
top
bottom
:
parent
.
bottom
}
readOnly
:
true
}
}
}
...
...
Mist/debugger.go
View file @
02ea68f1
...
...
@@ -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
()
.
ObjectByName
(
"info"
)
.
Set
(
"text"
,
fmt
.
Sprintf
(
`stack frame %v`
,
new
(
big
.
Int
)
.
SetBytes
(
mem
.
Get
(
0
,
32
))))
out
:
for
{
select
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment