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
d631ccb4
Unverified
Commit
d631ccb4
authored
Mar 26, 2018
by
yann300
Committed by
GitHub
Mar 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1194 from ethereum/fixDebuggerBreakpoint
[BreakpointManager] fix API use
parents
8f16a447
25bb7814
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Ethdebugger.js
src/app/debugger/remix-debugger/src/ui/Ethdebugger.js
+1
-1
StepManager.js
src/app/debugger/remix-debugger/src/ui/StepManager.js
+2
-2
No files found.
src/app/debugger/remix-debugger/src/ui/Ethdebugger.js
View file @
d631ccb4
...
...
@@ -173,7 +173,7 @@ Ethdebugger.prototype.startDebugging = function (blockNumber, txIndex, tx) {
yo
.
update
(
self
.
view
,
self
.
render
())
self
.
event
.
trigger
(
'newTraceLoaded'
,
[
self
.
traceManager
.
trace
])
if
(
self
.
breakpointManager
&&
self
.
breakpointManager
.
hasBreakpoint
())
{
self
.
breakpointManager
.
jumpNextBreakpoint
(
false
)
self
.
breakpointManager
.
jumpNextBreakpoint
(
0
,
false
)
}
}
else
{
self
.
statusMessage
=
error
?
error
.
message
:
'Trace not loaded'
...
...
src/app/debugger/remix-debugger/src/ui/StepManager.js
View file @
d631ccb4
...
...
@@ -65,10 +65,10 @@ function StepManager (_parent, _traceManager) {
self
.
jumpTo
(
exceptionIndex
)
})
this
.
buttonNavigator
.
event
.
register
(
'jumpNextBreakpoint'
,
(
exceptionIndex
)
=>
{
self
.
parent
.
breakpointManager
.
jumpNextBreakpoint
(
true
)
self
.
parent
.
breakpointManager
.
jumpNextBreakpoint
(
t
his
.
parent
.
currentStepIndex
,
t
rue
)
})
this
.
buttonNavigator
.
event
.
register
(
'jumpPreviousBreakpoint'
,
(
exceptionIndex
)
=>
{
self
.
parent
.
breakpointManager
.
jumpPreviousBreakpoint
(
true
)
self
.
parent
.
breakpointManager
.
jumpPreviousBreakpoint
(
t
his
.
parent
.
currentStepIndex
,
t
rue
)
})
}
...
...
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