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
f1e597d2
Commit
f1e597d2
authored
Oct 26, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stepOverForward bug
parent
cfb1185e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
248 deletions
+3
-248
stepManager.js
libs/remix-debug/src/debugger/stepManager.js
+1
-0
sourceLocationTracker.js
libs/remix-debug/src/source/sourceLocationTracker.js
+0
-1
assembly-items.ts
libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts
+2
-2
package-lock.json
package-lock.json
+0
-245
No files found.
libs/remix-debug/src/debugger/stepManager.js
View file @
f1e597d2
...
@@ -118,6 +118,7 @@ class DebuggerStepManager {
...
@@ -118,6 +118,7 @@ class DebuggerStepManager {
stepOverForward
(
solidityMode
)
{
stepOverForward
(
solidityMode
)
{
if
(
!
this
.
traceManager
.
isLoaded
())
return
if
(
!
this
.
traceManager
.
isLoaded
())
return
if
(
this
.
currentStepIndex
>=
this
.
traceLength
-
1
)
return
let
step
=
this
.
currentStepIndex
+
1
let
step
=
this
.
currentStepIndex
+
1
let
scope
=
this
.
debugger
.
callTree
.
findScope
(
step
)
let
scope
=
this
.
debugger
.
callTree
.
findScope
(
step
)
if
(
scope
&&
scope
.
firstStep
===
step
)
{
if
(
scope
&&
scope
.
firstStep
===
step
)
{
...
...
libs/remix-debug/src/source/sourceLocationTracker.js
View file @
f1e597d2
...
@@ -69,7 +69,6 @@ SourceLocationTracker.prototype.getValidSourceLocationFromVMTraceIndex = async f
...
@@ -69,7 +69,6 @@ SourceLocationTracker.prototype.getValidSourceLocationFromVMTraceIndex = async f
map
=
await
this
.
getSourceLocationFromVMTraceIndex
(
address
,
vmtraceStepIndex
,
contracts
)
map
=
await
this
.
getSourceLocationFromVMTraceIndex
(
address
,
vmtraceStepIndex
,
contracts
)
vmtraceStepIndex
=
vmtraceStepIndex
-
1
vmtraceStepIndex
=
vmtraceStepIndex
-
1
}
}
console
.
log
(
map
,
vmtraceStepIndex
)
return
map
return
map
}
}
...
...
libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts
View file @
f1e597d2
...
@@ -34,8 +34,8 @@ export const reducer = (state = initialState, action: Action) => {
...
@@ -34,8 +34,8 @@ export const reducer = (state = initialState, action: Action) => {
const
opCodes
=
action
.
payload
.
address
===
state
.
opCodes
.
address
?
{
const
opCodes
=
action
.
payload
.
address
===
state
.
opCodes
.
address
?
{
...
state
.
opCodes
,
index
:
action
.
payload
.
index
...
state
.
opCodes
,
index
:
action
.
payload
.
index
}
:
deepEqual
(
action
.
payload
.
code
,
state
.
opCodes
.
code
)
?
state
.
opCodes
:
action
.
payload
}
:
deepEqual
(
action
.
payload
.
code
,
state
.
opCodes
.
code
)
?
state
.
opCodes
:
action
.
payload
const
top
=
opCodes
.
index
-
10
>
0
?
opCodes
.
index
-
10
:
0
const
top
=
opCodes
.
index
-
3
>
0
?
opCodes
.
index
-
3
:
0
const
bottom
=
opCodes
.
index
+
10
<
opCodes
.
code
.
length
?
opCodes
.
index
+
10
:
opCodes
.
code
.
length
const
bottom
=
opCodes
.
index
+
4
<
opCodes
.
code
.
length
?
opCodes
.
index
+
4
:
opCodes
.
code
.
length
const
display
=
opCodes
.
code
.
slice
(
top
,
bottom
)
const
display
=
opCodes
.
code
.
slice
(
top
,
bottom
)
return
{
return
{
...
...
package-lock.json
View file @
f1e597d2
...
@@ -35969,251 +35969,6 @@
...
@@ -35969,251 +35969,6 @@
}
}
}
}
},
},
"remixd"
:
{
"version"
:
"0.2.3-alpha.4"
,
"resolved"
:
"https://registry.npmjs.org/remixd/-/remixd-0.2.3-alpha.4.tgz"
,
"integrity"
:
"sha512-AmIHg3W7uu5K0BKeRUOaMRGzElomvZWbzYGtztFZhdcAJ4RGEpWnsZEJHNVeGhiZD5JDAvL4Sd3k9La/5qaPXQ=="
,
"dev"
:
true
,
"requires"
:
{
"@remixproject/plugin"
:
"^0.3.0-alpha.8"
,
"@remixproject/plugin-ws"
:
"^0.3.0-alpha.4"
,
"chokidar"
:
"^2.1.8"
,
"commander"
:
"^2.20.3"
,
"fs-extra"
:
"^3.0.1"
,
"isbinaryfile"
:
"^3.0.2"
,
"ws"
:
"^7.3.0"
},
"dependencies"
:
{
"anymatch"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz"
,
"integrity"
:
"sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw=="
,
"dev"
:
true
,
"requires"
:
{
"micromatch"
:
"^3.1.4"
,
"normalize-path"
:
"^2.1.1"
},
"dependencies"
:
{
"normalize-path"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz"
,
"integrity"
:
"sha1-GrKLVW4Zg2Oowab35vogE3/mrtk="
,
"dev"
:
true
,
"requires"
:
{
"remove-trailing-separator"
:
"^1.0.1"
}
}
}
},
"binary-extensions"
:
{
"version"
:
"1.13.1"
,
"resolved"
:
"https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz"
,
"integrity"
:
"sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw=="
,
"dev"
:
true
},
"braces"
:
{
"version"
:
"2.3.2"
,
"resolved"
:
"https://registry.npmjs.org/braces/-/braces-2.3.2.tgz"
,
"integrity"
:
"sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w=="
,
"dev"
:
true
,
"requires"
:
{
"arr-flatten"
:
"^1.1.0"
,
"array-unique"
:
"^0.3.2"
,
"extend-shallow"
:
"^2.0.1"
,
"fill-range"
:
"^4.0.0"
,
"isobject"
:
"^3.0.1"
,
"repeat-element"
:
"^1.1.2"
,
"snapdragon"
:
"^0.8.1"
,
"snapdragon-node"
:
"^2.0.1"
,
"split-string"
:
"^3.0.2"
,
"to-regex"
:
"^3.0.1"
}
},
"chokidar"
:
{
"version"
:
"2.1.8"
,
"resolved"
:
"https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz"
,
"integrity"
:
"sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg=="
,
"dev"
:
true
,
"requires"
:
{
"anymatch"
:
"^2.0.0"
,
"async-each"
:
"^1.0.1"
,
"braces"
:
"^2.3.2"
,
"fsevents"
:
"^1.2.7"
,
"glob-parent"
:
"^3.1.0"
,
"inherits"
:
"^2.0.3"
,
"is-binary-path"
:
"^1.0.0"
,
"is-glob"
:
"^4.0.0"
,
"normalize-path"
:
"^3.0.0"
,
"path-is-absolute"
:
"^1.0.0"
,
"readdirp"
:
"^2.2.1"
,
"upath"
:
"^1.1.1"
}
},
"extend-shallow"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz"
,
"integrity"
:
"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8="
,
"dev"
:
true
,
"requires"
:
{
"is-extendable"
:
"^0.1.0"
}
},
"fill-range"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz"
,
"integrity"
:
"sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc="
,
"dev"
:
true
,
"requires"
:
{
"extend-shallow"
:
"^2.0.1"
,
"is-number"
:
"^3.0.0"
,
"repeat-string"
:
"^1.6.1"
,
"to-regex-range"
:
"^2.1.0"
}
},
"fs-extra"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz"
,
"integrity"
:
"sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.2"
,
"jsonfile"
:
"^3.0.0"
,
"universalify"
:
"^0.1.0"
}
},
"fsevents"
:
{
"version"
:
"1.2.13"
,
"resolved"
:
"https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz"
,
"integrity"
:
"sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"bindings"
:
"^1.5.0"
,
"nan"
:
"^2.12.1"
}
},
"glob-parent"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz"
,
"integrity"
:
"sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4="
,
"dev"
:
true
,
"requires"
:
{
"is-glob"
:
"^3.1.0"
,
"path-dirname"
:
"^1.0.0"
},
"dependencies"
:
{
"is-glob"
:
{
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz"
,
"integrity"
:
"sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo="
,
"dev"
:
true
,
"requires"
:
{
"is-extglob"
:
"^2.1.0"
}
}
}
},
"is-binary-path"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz"
,
"integrity"
:
"sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg="
,
"dev"
:
true
,
"requires"
:
{
"binary-extensions"
:
"^1.0.0"
}
},
"is-number"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz"
,
"integrity"
:
"sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU="
,
"dev"
:
true
,
"requires"
:
{
"kind-of"
:
"^3.0.2"
}
},
"isarray"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz"
,
"integrity"
:
"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
,
"dev"
:
true
},
"jsonfile"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz"
,
"integrity"
:
"sha1-pezG9l9T9mLEQVx2daAzHQmS7GY="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.6"
}
},
"kind-of"
:
{
"version"
:
"3.2.2"
,
"resolved"
:
"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz"
,
"integrity"
:
"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ="
,
"dev"
:
true
,
"requires"
:
{
"is-buffer"
:
"^1.1.5"
}
},
"readable-stream"
:
{
"version"
:
"2.3.7"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz"
,
"integrity"
:
"sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw=="
,
"dev"
:
true
,
"requires"
:
{
"core-util-is"
:
"~1.0.0"
,
"inherits"
:
"~2.0.3"
,
"isarray"
:
"~1.0.0"
,
"process-nextick-args"
:
"~2.0.0"
,
"safe-buffer"
:
"~5.1.1"
,
"string_decoder"
:
"~1.1.1"
,
"util-deprecate"
:
"~1.0.1"
}
},
"readdirp"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz"
,
"integrity"
:
"sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ=="
,
"dev"
:
true
,
"requires"
:
{
"graceful-fs"
:
"^4.1.11"
,
"micromatch"
:
"^3.1.10"
,
"readable-stream"
:
"^2.0.2"
}
},
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
,
"dev"
:
true
},
"string_decoder"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz"
,
"integrity"
:
"sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="
,
"dev"
:
true
,
"requires"
:
{
"safe-buffer"
:
"~5.1.0"
}
},
"to-regex-range"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz"
,
"integrity"
:
"sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg="
,
"dev"
:
true
,
"requires"
:
{
"is-number"
:
"^3.0.0"
,
"repeat-string"
:
"^1.6.1"
}
},
"ws"
:
{
"version"
:
"7.3.1"
,
"resolved"
:
"https://registry.npmjs.org/ws/-/ws-7.3.1.tgz"
,
"integrity"
:
"sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA=="
,
"dev"
:
true
}
}
},
"remove-bom-buffer"
:
{
"remove-bom-buffer"
:
{
"version"
:
"3.0.0"
,
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz"
,
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