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
2c6c4810
Commit
2c6c4810
authored
Nov 11, 2020
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure debugging 2 times the same hash
parent
f4f0ba20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
debugger-tab.js
apps/remix-ide/src/app/tabs/debugger-tab.js
+2
-1
debugger-ui.tsx
libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx
+1
-1
No files found.
apps/remix-ide/src/app/tabs/debugger-tab.js
View file @
2c6c4810
...
...
@@ -31,6 +31,7 @@ class DebuggerTab extends ViewPlugin {
this
.
blockchain
=
blockchain
this
.
debugHash
=
null
this
.
removeHighlights
=
false
this
.
debugHashRequest
=
0
}
render
()
{
...
...
@@ -82,8 +83,8 @@ class DebuggerTab extends ViewPlugin {
}
debug
(
hash
)
{
this
.
debugHash
=
''
// so we can trigger a debug using the same hash 2 times in a row. that's needs to be improved
this
.
debugHash
=
hash
this
.
debugHashRequest
++
// so we can trigger a debug using the same hash 2 times in a row. that's needs to be improved
this
.
renderComponent
()
}
...
...
libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx
View file @
2c6c4810
...
...
@@ -32,7 +32,7 @@ export const DebuggerUI = ({ debuggerModule }) => {
if
(
debuggerModule
.
debugHash
)
{
debug
(
debuggerModule
.
debugHash
)
}
},
[
debuggerModule
.
debugHash
])
},
[
debuggerModule
.
debugHash
Request
])
useEffect
(()
=>
{
if
(
debuggerModule
.
removeHighlights
)
deleteHighlights
()
...
...
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