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
9fd4c06e
Commit
9fd4c06e
authored
Jun 29, 2020
by
yann300
Committed by
ioedeveloper
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
layout update
parent
78c67264
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
VmDebugger.js
.../remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js
+14
-3
CodeListView.js
...c/app/tabs/debugger/debuggerUI/vmDebugger/CodeListView.js
+1
-1
FunctionPanel.js
src/app/tabs/debugger/debuggerUI/vmDebugger/FunctionPanel.js
+1
-1
No files found.
apps/remix-ide/src/app/tabs/debugger/debuggerUI/VmDebugger.js
View file @
9fd4c06e
...
@@ -16,11 +16,15 @@ var FullStoragesChangesPanel = require('./vmDebugger/FullStoragesChanges')
...
@@ -16,11 +16,15 @@ var FullStoragesChangesPanel = require('./vmDebugger/FullStoragesChanges')
var
DropdownPanel
=
require
(
'./vmDebugger/DropdownPanel'
)
var
DropdownPanel
=
require
(
'./vmDebugger/DropdownPanel'
)
var
css
=
csjs
`
var
css
=
csjs
`
.solidityPanel {
width: 100%;
}
.asmCode {
.asmCode {
width: 100%;
width: 100%;
}
}
.stepDetail {
.stepDetail {
width: 100%;
width: 100%;
line-height: 2O%;
}
}
.vmheadView {
.vmheadView {
margin-top:10px;
margin-top:10px;
...
@@ -127,17 +131,27 @@ function VmDebugger (vmDebuggerLogic) {
...
@@ -127,17 +131,27 @@ function VmDebugger (vmDebuggerLogic) {
this
.
vmDebuggerLogic
.
event
.
register
(
'newCallTree'
,
()
=>
{
this
.
vmDebuggerLogic
.
event
.
register
(
'newCallTree'
,
()
=>
{
if
(
!
self
.
view
)
return
if
(
!
self
.
view
)
return
self
.
functionPanel
.
basicPanel
.
show
()
self
.
solidityLocals
.
basicPanel
.
show
()
self
.
solidityLocals
.
basicPanel
.
show
()
self
.
solidityState
.
basicPanel
.
show
()
self
.
solidityState
.
basicPanel
.
show
()
self
.
solidityPanel
.
hidden
=
false
})
})
this
.
vmDebuggerLogic
.
start
()
this
.
vmDebuggerLogic
.
start
()
}
}
VmDebugger
.
prototype
.
renderHead
=
function
()
{
VmDebugger
.
prototype
.
renderHead
=
function
()
{
this
.
solidityPanel
=
yo
`
<div class="
${
css
.
solidityPanel
}
column" hidden>
${
this
.
functionPanel
.
render
()}
${
this
.
solidityLocals
.
render
()}
${
this
.
solidityState
.
render
()}
</div>
`
const
headView
=
yo
`
const
headView
=
yo
`
<div id="vmheadView" class="
${
css
.
vmheadView
}
container">
<div id="vmheadView" class="
${
css
.
vmheadView
}
container">
<div class="row" >
<div class="row" >
${
this
.
solidityPanel
}
<div class="
${
css
.
asmCode
}
column">
${
this
.
asmCode
.
render
()}
</div>
<div class="
${
css
.
asmCode
}
column">
${
this
.
asmCode
.
render
()}
</div>
<div class="
${
css
.
stepDetail
}
column">
${
this
.
stepDetail
.
render
()}
</div>
<div class="
${
css
.
stepDetail
}
column">
${
this
.
stepDetail
.
render
()}
</div>
</div>
</div>
...
@@ -158,10 +172,7 @@ VmDebugger.prototype.render = function () {
...
@@ -158,10 +172,7 @@ VmDebugger.prototype.render = function () {
const
view
=
yo
`
const
view
=
yo
`
<div id="vmdebugger" class="pl-2">
<div id="vmdebugger" class="pl-2">
<div>
<div>
${
this
.
solidityLocals
.
render
()}
${
this
.
solidityState
.
render
()}
${
this
.
stackPanel
.
render
()}
${
this
.
stackPanel
.
render
()}
${
this
.
functionPanel
.
render
()}
${
this
.
memoryPanel
.
render
()}
${
this
.
memoryPanel
.
render
()}
${
this
.
storagePanel
.
render
()}
${
this
.
storagePanel
.
render
()}
${
this
.
callstackPanel
.
render
()}
${
this
.
callstackPanel
.
render
()}
...
...
apps/remix-ide/src/app/tabs/debugger/debuggerUI/vmDebugger/CodeListView.js
View file @
9fd4c06e
...
@@ -8,7 +8,7 @@ var csjs = require('csjs-inject')
...
@@ -8,7 +8,7 @@ var csjs = require('csjs-inject')
var
css
=
csjs
`
var
css
=
csjs
`
.instructions {
.instructions {
overflow-y: scroll;
overflow-y: scroll;
max-height: 1
5
0px;
max-height: 1
0
0px;
}
}
`
`
function
CodeListView
()
{
function
CodeListView
()
{
...
...
src/app/tabs/debugger/debuggerUI/vmDebugger/FunctionPanel.js
View file @
9fd4c06e
...
@@ -3,7 +3,7 @@ var DropdownPanel = require('./DropdownPanel')
...
@@ -3,7 +3,7 @@ var DropdownPanel = require('./DropdownPanel')
var
yo
=
require
(
'yo-yo'
)
var
yo
=
require
(
'yo-yo'
)
function
FunctionPanel
()
{
function
FunctionPanel
()
{
this
.
basicPanel
=
new
DropdownPanel
(
'Function'
,
{
json
:
true
,
displayContentOnly
:
false
})
this
.
basicPanel
=
new
DropdownPanel
(
'Function
Stack
'
,
{
json
:
true
,
displayContentOnly
:
false
})
}
}
FunctionPanel
.
prototype
.
update
=
function
(
calldata
)
{
FunctionPanel
.
prototype
.
update
=
function
(
calldata
)
{
...
...
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