Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
c6821060
Commit
c6821060
authored
Aug 25, 2016
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
d304a2e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ui.js
src/helpers/ui.js
+2
-2
vmdebugger.js
test-browser/vmdebugger.js
+3
-3
No files found.
src/helpers/ui.js
View file @
c6821060
...
...
@@ -13,7 +13,7 @@ module.exports = {
for
(
var
k
=
0
;
k
<
mem
.
length
;
k
+=
(
width
*
2
))
{
var
memory
=
mem
.
substr
(
k
,
width
*
2
)
var
content
=
this
.
tryConvertAsciiFormat
(
memory
)
ret
+=
'0x'
+
k
.
toString
(
16
)
+
' '
+
content
.
raw
+
'
'
+
content
.
ascii
+
'
\
n'
ret
+=
'0x'
+
(
k
/
2
).
toString
(
16
)
+
'
\
t
\
t'
+
content
.
raw
+
'
\
t
'
+
content
.
ascii
+
'
\
n'
}
return
ret
},
...
...
@@ -28,7 +28,7 @@ module.exports = {
ascii
=
'?'
}
ret
.
ascii
+=
ascii
ret
.
raw
+=
' '
+
raw
ret
.
raw
+=
raw
}
return
ret
},
...
...
test-browser/vmdebugger.js
View file @
c6821060
...
...
@@ -67,9 +67,9 @@ function panels (browser) {
.
assertCallData
(
'0x60fe47b10000000000000000000000000000000000000000000000000000000000000038'
)
.
assertCallStack
(
'0x0d3a18d64dfe4f927832ab58d6451cecc4e517c5'
)
.
assertStackValue
(
1
,
'0x60'
)
.
assertMemoryValue
(
6
,
'0x
c0 60 60 60 40 52 60 40 51 60 20 80 60 45 83 39 81
????R??Q????E?9?'
)
.
assertMemoryValue
(
7
,
'0x
e0 01 60 40 52 80 80 51 90 60 20 01 90 91 90 50 50
???R??Q???????PP'
)
.
assertMemoryValue
(
8
,
'0x
100 5b 80 60 01 01 60 00 60 00 50 81 90 55 50 5b 50
?????????P??UP?P'
)
.
assertMemoryValue
(
6
,
'0x
60
\
t
\
t60606040526040516020806045833981
\
t
????R??Q????E?9?'
)
.
assertMemoryValue
(
7
,
'0x
70
\
t
\
t01604052808051906020019091905050
\
t
???R??Q???????PP'
)
.
assertMemoryValue
(
8
,
'0x
80
\
t
\
t5b806001016000600050819055505b50
\
t
?????????P??UP?P'
)
.
click
(
'#intoforward'
)
// CREATE
.
assertStack
(
''
)
.
assertStorageChanges
(
''
)
...
...
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