diff --git a/src/app/ui/styles-guide/styleGuideDark.js b/src/app/ui/styles-guide/styleGuideDark.js
index adc48801f6..22d1debddf 100644
--- a/src/app/ui/styles-guide/styleGuideDark.js
+++ b/src/app/ui/styles-guide/styleGuideDark.js
@@ -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,
diff --git a/src/lib/cmdInterpreterAPI.js b/src/lib/cmdInterpreterAPI.js
index 52de828154..f0923d05ff 100644
--- a/src/lib/cmdInterpreterAPI.js
+++ b/src/lib/cmdInterpreterAPI.js
@@ -215,8 +215,8 @@ class CmdInterpreterAPI {
const self = this
var help = yo`
Here are some examples of scripts that can be run (using remix.exeCurrent() or directly from the console)
`
help.appendChild(yo`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`
`)
help.appendChild(yo`
remix.highlight(contractAddress, vmTraceIndex)
`)
help.appendChild(yo`
`)
- help.appendChild(yo`
remix.stateAt(vmTraceIndex)
`)
+ help.appendChild(yo`
remix.goTo(row) (this log the index in the vm trace, state and local variables)
`)
+ help.appendChild(yo`
`)
+ help.appendChild(yo`
remix.stateAt(vmTraceIndex)
`)
+ help.appendChild(yo`
`)
+ help.appendChild(yo`
remix.localsAt(vmTraceIndex)
`)
help.appendChild(yo`
`)
- help.appendChild(yo`
remix.localsAt(vmTraceIndex)
`)
+ help.appendChild(yo`
`)
self._components.terminal.commands.html(help)
if (cb) cb()
return ''