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
4b3d06b0
Commit
4b3d06b0
authored
May 28, 2020
by
LianaHus
Committed by
ioedeveloper
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove highlights on unload
parent
f371e3e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
debugger-tab.js
apps/remix-ide/src/app/tabs/debugger-tab.js
+7
-1
debuggerUI.js
apps/remix-ide/src/app/tabs/debugger/debuggerUI.js
+2
-1
No files found.
apps/remix-ide/src/app/tabs/debugger-tab.js
View file @
4b3d06b0
...
...
@@ -61,7 +61,8 @@ class DebuggerTab extends ViewPlugin {
(
address
,
receipt
)
=>
{
const
target
=
(
address
&&
remixLib
.
helpers
.
trace
.
isContractCreation
(
address
))
?
receipt
.
contractAddress
:
address
return
this
.
call
(
'fetchAndCompile'
,
'resolve'
,
target
||
receipt
.
contractAddress
||
receipt
.
to
,
'.debug'
,
this
.
blockchain
.
web3
())
})
}
)
this
.
call
(
'manager'
,
'activatePlugin'
,
'source-verification'
)
// this.call('manager', 'activatePlugin', 'udapp')
...
...
@@ -69,6 +70,11 @@ class DebuggerTab extends ViewPlugin {
return
this
.
el
}
deactivate
()
{
this
.
debuggerUI
.
unLoad
()
super
.
deactivate
()
}
debug
(
hash
)
{
if
(
this
.
debuggerUI
)
this
.
debuggerUI
.
debug
(
hash
)
}
...
...
apps/remix-ide/src/app/tabs/debugger/debuggerUI.js
View file @
4b3d06b0
...
...
@@ -206,7 +206,8 @@ class DebuggerUI {
return
view
}
unLoad
()
{
async
unLoad
()
{
await
this
.
debuggerModule
.
call
(
'editor'
,
'discardHighlight'
)
yo
.
update
(
this
.
debuggerHeadPanelsView
,
yo
`<div></div>`
)
yo
.
update
(
this
.
debuggerPanelsView
,
yo
`<div></div>`
)
yo
.
update
(
this
.
stepManagerView
,
yo
`<div></div>`
)
...
...
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