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
8fa95a0e
Unverified
Commit
8fa95a0e
authored
Aug 22, 2018
by
yann300
Committed by
GitHub
Aug 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1472 from ethereum/variousImpr
Various Fixes
parents
6e31383f
7f9a6719
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
styleGuideDark.js
src/app/ui/styles-guide/styleGuideDark.js
+1
-0
cmdInterpreterAPI.js
src/lib/cmdInterpreterAPI.js
+7
-3
No files found.
src/app/ui/styles-guide/styleGuideDark.js
View file @
8fa95a0e
...
...
@@ -461,6 +461,7 @@ function styleGuideDark () {
text_Secondary
:
appProperties
.
supportText_Color
,
text_RegularLog
:
appProperties
.
mainText_Color
,
text_InfoLog
:
appProperties
.
supportText_Color
,
text_WarnLog
:
appProperties
.
warningText_Color
,
text_ErrorLog
:
appProperties
.
errorText_Color
,
text_Title_TransactionLog
:
appProperties
.
infoText_Color
,
text_Regular_TransactionLog
:
appProperties
.
supportText_Color
,
...
...
src/lib/cmdInterpreterAPI.js
View file @
8fa95a0e
...
...
@@ -215,8 +215,8 @@ class CmdInterpreterAPI {
const
self
=
this
var
help
=
yo
`<div>Here are some examples of scripts that can be run (using remix.exeCurrent() or directly from the console)</div>`
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<div>remix.debug('0x3c247ac268afb9a9c183feb9d4e83df51efbc8a2f4624c740789b788dac43029', function (error, debugSession) {
remix.d = debugSession
remix.log = function () { arguments[0] != null ? console.log(arguments[0]) : console.log(arguments[1]) }
remix.d.traceManager.getLength(remix.log)
...
...
@@ -231,9 +231,13 @@ class CmdInterpreterAPI {
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<div>remix.highlight(contractAddress, vmTraceIndex)</div>`
)
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<div>remix.stateAt(vmTraceIndex)<br/></div>`
)
help
.
appendChild
(
yo
`<div>remix.goTo(row) (this log the index in the vm trace, state and local variables)</div>`
)
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<div>remix.stateAt(vmTraceIndex)</div>`
)
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<div>remix.localsAt(vmTraceIndex)</div>`
)
help
.
appendChild
(
yo
`<br>`
)
help
.
appendChild
(
yo
`<div>
remix.localsAt(vmTraceIndex)<br/>
</div>`
)
help
.
appendChild
(
yo
`<div>
Please see <a href="https://www.npmjs.com/package/remix-debug" target="_blank">https://www.npmjs.com/package/remix-debug</a> for more informations
</div>`
)
self
.
_components
.
terminal
.
commands
.
html
(
help
)
if
(
cb
)
cb
()
return
''
...
...
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